text stringlengths 1 2.12k | source dict |
|---|---|
# Find the value of point A and B
1. Nov 26, 2015
### shayaan_musta
Hello experts.
I am attaching the image below. Kindly tell me how to calculate the values of A and B in the given figure?
Now I must find A and B. How to get it?
PS: P=-2.5+4.33i. But A is not at -2.5. Means PA is not making angle 90 with real axis.
Thank you
#### Attached Files:
• ###### Capture.PNG
File size:
6.2 KB
Views:
136
2. Nov 26, 2015
### Staff: Mentor
One information is missing, either about A or B or another angle. With P and the 55° at P you could still find infinitely many solutions. Or is it supposed to express A as function of B?
3. Nov 27, 2015
### shayaan_musta
No further information is given. Here is the image of the whole page below.
Here is AO=2.38. But how?
#### Attached Files:
• ###### Capture.PNG
File size:
76 KB
Views:
121
4. Nov 27, 2015
### Samy_A
But, as @fresh_42 rightly supposed, you have one more piece of information, namely $\frac {\overline {PA}}{\overline{PB}}=\frac {4.77}{8}$.
Then, as the text suggests, you can calculate A and B using trigonometry.
Last edited: Nov 27, 2015
5. Nov 27, 2015
### shayaan_musta
But how? This is the actual question of mine. For A and B, I posted this thread. If you are saying to solve it myself then what is the cause of posting this thread. Kindly enlighten the way for me to find A and B.
6. Nov 27, 2015
### SteamKing
Staff Emeritus
You've been posting information in dribs and drabs, and you are expecting a full solution to what is obviously a much larger problem than just figuring out this triangle.
How about some full disclosure of the complete problem or section from this text you are referencing?
7. Nov 27, 2015
### Samy_A
As both @fresh_42 and @SteamKing noted, you first didn't provide enough information to solve the triangle.
From your second attachment we learned that $\frac {\overline {PA}}{\overline{PB}}=\frac {4.77}{8}$
With this information the triangle can be solved. | {
"domain": "physicsforums.com",
"id": null,
"lm_label": "1. Yes\n2. Yes",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9609517095103498,
"lm_q1q2_score": 0.8743766999907592,
"lm_q2_score": 0.9099070133672954,
"openwebmath_perplexity": 1126.2293299906453,
"openwebmath_score": 0.767493486404419,
"tags": null,
"url": "https://www.physicsforums.com/threads/find-the-value-of-point-a-and-b.845250/"
} |
With this information the triangle can be solved.
Now there are probably many ways to do it.
I would begin in the following way:
If $\alpha$ is the angle in A, and $\beta$ the angle in B, $\frac {\sin(\beta)}{\sin(\alpha)}$ can be determined (using $\frac {\overline {PA}}{\overline{PB}}=\frac {4.77}{8}$ and the law of sines).
But we also know that $\alpha+\beta=125°$, so that $\sin(\beta)=\sin(125°-\alpha)=\sin(125°)\cos(\alpha)-cos(125°)\sin(\alpha)$.
These two together will allow to compute $\cot(\alpha)$. And then the other components of the triangle can be computed. It is tedious but it works.
This is just one way to do it. Hopefully someone else will come along with a less tedious method.
As this thread should probably have been posted in the homework section, we are not allowed to give the full solutions.
Last edited: Nov 27, 2015
8. Nov 27, 2015
### shayaan_musta
OK. This is what I did,
sin(125°-α)=sin(125°)cos(α)-cos(125°)sin(α)
since, sin(β)=sin(125°-α)
so,
sin(β)=sin(125°)cos(α)-cos(125°)sin(α)
dividing both sides by sin(α)
so,
sin(β)/sin(α)=sin(125°)cos(α)/sin(α)-cos(125°)sin(α)/sin(α)
sin(β)/sin(α)=sin(125°)cos(α)/sin(α)-cos(125°)
sin(β)/sin(α)=0.8192*cos(α)/sin(α)-(-0.5736)
4.77/8=0.8192*cot(α)+0.5736
0.596=0.8192*cot(α)+0.5736
0.0227=0.8192*cot(α)
cot(α)=0.0227/0.8192
cot(α)=0.028
α=88° and α+β=125° => β=37°
and
AB=sin(P)*PA/sin(β)=6.5
But now what? I still don't have point A coordinates :(
9. Nov 27, 2015
### Samy_A
Draw the line from P perpendicular to the horizontal axis. It will cross the horizontal axis in a point Q, just to the left of A.
PAQ is a right triangle and you know the coordinates of P, the coordinates of Q and the angle $\alpha$. That should lead you to the coordinates of A.
10. Nov 27, 2015
### shayaan_musta
Yes, I tried this already before posting post#8 but problem is P has iota in imaginary axis i.e. P(-2.5+4.33i).
11. Nov 27, 2015
### SteamKing | {
"domain": "physicsforums.com",
"id": null,
"lm_label": "1. Yes\n2. Yes",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9609517095103498,
"lm_q1q2_score": 0.8743766999907592,
"lm_q2_score": 0.9099070133672954,
"openwebmath_perplexity": 1126.2293299906453,
"openwebmath_score": 0.767493486404419,
"tags": null,
"url": "https://www.physicsforums.com/threads/find-the-value-of-point-a-and-b.845250/"
} |
11. Nov 27, 2015
### SteamKing
Staff Emeritus
I don't know what more you want.
So far:
1. You have determined all three angles in this triangle
2. You have calculated the length of one side of this triangle.
3. You know the coordinates of one of the vertices of this triangle.
It's time to let loose on the trigonometry and find the rest of the missing information.
Hint: Use the Law of Sines to find the lengths of the other two sides.
12. Nov 27, 2015
### shayaan_musta
OK
13. Nov 28, 2015
### Samy_A
You lost me there.
In triangle APQ:
$\cot(\alpha)=\frac {|AQ|}{|PQ|}$. The only unknown here is $|AQ|$.
Thus:
$|AQ|=\cot(\alpha)*|PQ|=0.028*4.33=0.12$
So the coordinates of A are: $(-2.5+0.12,0)=(-2.38,0)$
For B (same as above, but now in the right triangle BPQ):
$\beta=\pi-55*\frac{\pi}{180}-1.543=0.638$ (in radians).
$|BQ|=\cot(\beta)*|PQ|=\cot(0.638)*4.33=1.349*4.33=5.84$
So the coordinates of B are: $(-2.5-5.84,0)=(-8.34,0)$
Last edited: Nov 28, 2015
14. Nov 28, 2015
### shayaan_musta
Best Regards,
Pinky | {
"domain": "physicsforums.com",
"id": null,
"lm_label": "1. Yes\n2. Yes",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9609517095103498,
"lm_q1q2_score": 0.8743766999907592,
"lm_q2_score": 0.9099070133672954,
"openwebmath_perplexity": 1126.2293299906453,
"openwebmath_score": 0.767493486404419,
"tags": null,
"url": "https://www.physicsforums.com/threads/find-the-value-of-point-a-and-b.845250/"
} |
# Clarifying the notion of basic/free variables in a system of equations
I have a fundamental confusion with regards to the notion of free/basic variables.
Consider the following linear system $$\begin{pmatrix} 1 & 2 & -1 \\ 2 & -4 & 0 \end{pmatrix}\begin{pmatrix} x_1\\ x_2 \\ x_3 \end{pmatrix}=\begin{pmatrix} 4\\ 5 \end{pmatrix}$$ This system has augmented matrix $$\begin{pmatrix} 1 & 2 & -1 & 4 \\ 2 & -4 & 0 & 5 \end{pmatrix}$$ which row reduces to $$\begin{pmatrix} 1 & 2 & -1 & 4 \\ 0 & -8 & 2 & -3 \end{pmatrix}$$ The last matrix is in echelon form. Columns 1 and 2 are pivot columns, so $$x_1,x_2$$ are basic variables. The third column is not a pivot column, so $$x_3$$ is a free variable. Finally, the last column is not a pivot column, so the system is consistent.
The above analysis tells me that $$x_3$$ is a free variable. I interpret this as saying "$$x_1,x_2$$ can be expressed as a function of $$x_3$$, while $$x_3$$ can be set equal to any number". For example, I can set $$x_3=200$$. In turn, $$\begin{cases} x_1+2x_2-200=4 \\ 2x_1-4x_2=5 \end{cases}\Rightarrow x_2=\frac{403}{8}, x_1=\frac{413}{4}$$
Nevertheless, just by doing naive computations, I realised that we could also "express $$x_1$$, $$x_3$$ as a function of $$x_2$$, while setting $$x_2$$ equal to any number". For example, I can set $$x_2=7$$. In turn, $$\begin{cases} x_1+14-x_3=4\\ 2x_1-28=5 \end{cases}\Rightarrow x_1=\frac{33}{2}, x_3=\frac{53}{2}$$ Alternatively, we could also "express $$x_2$$, $$x_3$$ as a function of $$x_1$$, while setting $$x_1$$ equal to any number". For example, I can set $$x_1=0$$. In turn, $$\begin{cases} 2x_2-x_3=4\\ -4x_2=5 \end{cases}\Rightarrow x_2=-\frac{13}{2}, x_3=-\frac{5}{4}$$
Hence, my question: what is the relation between
• the fact that $$x_3$$ is a free variable and $$x_1,x_2$$ are basic variables (from the row-reduced matrix) | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.975576906395452,
"lm_q1q2_score": 0.8743621385750181,
"lm_q2_score": 0.8962513696696647,
"openwebmath_perplexity": 208.0200368281728,
"openwebmath_score": 0.931725263595581,
"tags": null,
"url": "https://math.stackexchange.com/questions/4013760/clarifying-the-notion-of-basic-free-variables-in-a-system-of-equations"
} |
• and the fact that in the system above I am free to fix the value of anyone among $$x_1,x_2,x_3$$ and I will always be able to solve for the other two unrestricted variables
• Note that the order of the columns is arbitrary in a way. Feb 5 at 13:22
You've got three column vectors, and any pair of them are independent and thus span $$\Bbb R^2$$. The solution set is one-dimensional (affine) (aka a line) so of the form $$v+tw$$, where $$v,w$$ are some vectors and $$t$$ is a free real variable. We can choose this to be $$x_3$$, or any of the other variables if you prefer.
You can then transform the equations to \begin{align}x_1+2x_2 &= 4+x_3\\ x_1 - 4x_2 &= 5\end{align}
and solve these in terms of $$x_3$$ uniquely. We get (add twice the first equation to the second and we get $$3x_1 = 13+2x_3$$ so $$x_1 = \frac{1}{3}(13+2x_3)$$, and subtraction the equations: $$6x_2 = x_3-1$$ and hence $$x_2 = \frac{1}{6}(x_3 - 1)$$ (we could also do another elimination step on this new system) so we can write the solution line as
$$\begin{pmatrix} \frac{13}{3}\\ -\frac16\end{pmatrix} + x_3 \begin{pmatrix} \frac{2}{3}\\ \frac16\end{pmatrix}$$ | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.975576906395452,
"lm_q1q2_score": 0.8743621385750181,
"lm_q2_score": 0.8962513696696647,
"openwebmath_perplexity": 208.0200368281728,
"openwebmath_score": 0.931725263595581,
"tags": null,
"url": "https://math.stackexchange.com/questions/4013760/clarifying-the-notion-of-basic-free-variables-in-a-system-of-equations"
} |
• Thanks. (1) Can we say that in this specific case "$x_3$ is a free variable, $x_1,x_2$ are basic variables" or, equivalently, "$x_1$ is a free variable, $x_3,x_2$ are basic variables" or, equivalently, "$x_2$ is a free variable, $x_1,x_3$ are basic variables"? (2) Is there any way to realise from the echelon form that we are "free" to permute the columns? This somehow relates to my other question math.stackexchange.com/questions/4012647/… if you can help.
– TEX
Feb 5 at 13:27
• @TEX They can all be free, that's the point. It doesn't matter. Feb 5 at 13:28
• Thanks. My doubt is: is there a formal way to understand from the echelon form (or any other form) when any variable can be set as the free variable? This is not always the case.
– TEX
Feb 5 at 13:29
• @TEX you just use $x_3$ and get the full solution set. Why do more? Feb 5 at 13:31
• Because this relates to a more general result that I need to prove. I want to understand when I'm free to set the free variables and how I can detect that.
– TEX
Feb 5 at 13:32 | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.975576906395452,
"lm_q1q2_score": 0.8743621385750181,
"lm_q2_score": 0.8962513696696647,
"openwebmath_perplexity": 208.0200368281728,
"openwebmath_score": 0.931725263595581,
"tags": null,
"url": "https://math.stackexchange.com/questions/4013760/clarifying-the-notion-of-basic-free-variables-in-a-system-of-equations"
} |
# Group tables for a group of four elements.
I should consider group tables obtained by renaming elements as essentially the same and then show that there are only two essentially different groups of order 4.
There seems to be so many different possible group tables for all the different binary operations - which is why I'm confused. I was thinking about using Cayley's table to show their commutativity but I'm really not too sure. Any help please!
Edit: After all of your help, I completely understand how to show that there are only two different groups of order four. Thank you. The only thing which I am still unclear of is how to note down the 'other tables' before stating that they are essentially the same as one of the other tables - meaning that there are just two different ones. It's pointless work but I think it's what the question requires.
Answer: After a bit of playing around - I've realised that there are four different tables, however, 3 tables are the same as each other, just with different values (the Klein 4 Group with 3 different generators). Hence there are two tables.
• It might seem like there are many possibilities, but try to start writing out some of them and note that there are certain properties they must have in order to satisfy the group axioms. – Tobias Kildetoft Feb 11 '13 at 17:47
• Re: duplicate vote. It's the same question, but the discussion in the older one is left unfinished. – user53153 Feb 11 '13 at 19:12
Hints: we are talking about groups of order 4, which narrows the possible binary relations and elements available:
• each must contain the identity,
• each must be associative,
• each must be closed under inverses (if $a \in G,\;a^{-1} \in G$)
• (and of course, closed under the group operation).
There are essentially (up to isomorphism) only two groups of order 4:
• one of course will be the additive cyclic group $\mathbb{Z}_4$, and
• the other will be the Klein 4-group, which is indeed abelian. | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. Yes\n2. Yes",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9854964228644457,
"lm_q1q2_score": 0.8743369563962531,
"lm_q2_score": 0.8872045966995027,
"openwebmath_perplexity": 214.06485455004116,
"openwebmath_score": 0.8426212668418884,
"tags": null,
"url": "https://math.stackexchange.com/questions/300393/group-tables-for-a-group-of-four-elements"
} |
If you follow the suggestions for solving the problem, you'll find, indeed, that any possible GROUP of order 4 can be shown isomorphic to one of the two groups mentioned simply by a renaming elements.
Yes: use of the Cayley table will be of great importance:
• for a group: no element can appear twice in any column,
• no element can appear twice in any row.
You'll find that the only ways of completing a table satisfying these criteria are limited, and then you show that a simple renaming of elements will reveal the group is isomorphic to $\mathbb{Z}_4$ or else the Klein-4 group.
• Yes, this has been very helpful, thank you. Your answer is so neatly written too! The only question I have is that I believe I should write down all the group tables... Is this just 2 group tables (of what binary operation???) OR do I list more but eliminate the rest. With Cayley's table, to show commutativity, is it sufficient to use the symmetry of the diagonal line? Thanks again. PS, I have encountered Lagrange - just struggling with Algebra! – user61854 Feb 11 '13 at 21:00
• If you have encountered Lagrange, than it suffices to argue that the only groups of order 4 have are the cyclic group $\mathbb{Z}$ (generated by one element), and a group whose non-identity elements have order 2 (since two and four divide 4). Completing any table that satisfies the properties of a group (one and only one element in each column and each row will limit the number of Cayley tables to construct. You can then show that of those, each is isomorphic to $Z_4$ or the Klein 4-group. And yes, you can show that those two non-isomorphic groups are indeed commutative by the Cayley table. – amWhy Feb 12 '13 at 1:47 | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. Yes\n2. Yes",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9854964228644457,
"lm_q1q2_score": 0.8743369563962531,
"lm_q2_score": 0.8872045966995027,
"openwebmath_perplexity": 214.06485455004116,
"openwebmath_score": 0.8426212668418884,
"tags": null,
"url": "https://math.stackexchange.com/questions/300393/group-tables-for-a-group-of-four-elements"
} |
There aren't that many. One of the elements will be the identity, let's call it $1$. (I am writing the operation as multiplication.) So the table looks like $$\begin{matrix} 1 & a & b & c\\ a\\ b\\ c\\ \end{matrix}$$ (I'm not writing the row and column labels, as they are the same as the first column and row). Now what could $ab$ be? Not $a$, not $b$... And $ba$? Proceed with $ac$, $ca$, $bc$, $cb$, and then you are left with the squares. They might all be $1$, or...
This simplifies it:
If a group has 4 elements, we separate two cases:
Case1: all the elements have order 2, then the group is abelian, and $a^2=1\Rightarrow a=a^{-1}$ for all $a\in G$: $ab=(ab)^{-1}=b^{-1}a^{-1}=ba$ the table should be easy to make in this case: there is only one.
Case2: there is an element $a\not =1$ that has order different from 2, then by LAgrange's theorem, the order must be 4, and so $G=\langle a\rangle$, and so the group is cyclic, and therefore it's abelian. We have proved that a 4-element group is always abelian. The table shouldn't be difficult in this case either.
• You're assuming Lagrange, and chances are, at this stage, the OP has not yet encountered Lagrange. See my comment below Michael Hardy's answer. – amWhy Feb 11 '13 at 19:17
• @amWhy I would have never imagined, Lagrange always comes really soon. I guess that then he will have to do every possible table to get to the same conclusion. – MyUserIsThis Feb 11 '13 at 21:25
• so b^2 = a, c^2 = a in one table and in the other, b^2 = 1, c^2 = 1. – user61854 Feb 12 '13 at 16:45
• @user61854 Yes, in my case 1, you have that: $a^2=b^2=c^2=1$, so: $ab=c, bc=a$, it's abelian, so the whole table is there. In my case 2, $a$ is the generator, so $a=a,a^2=b,a^3=c$, and you can compose to get the rest of the combinations. – MyUserIsThis Feb 12 '13 at 17:00 | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. Yes\n2. Yes",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9854964228644457,
"lm_q1q2_score": 0.8743369563962531,
"lm_q2_score": 0.8872045966995027,
"openwebmath_perplexity": 214.06485455004116,
"openwebmath_score": 0.8426212668418884,
"tags": null,
"url": "https://math.stackexchange.com/questions/300393/group-tables-for-a-group-of-four-elements"
} |
The order of an element must divide $$4$$, so it must be either $$1$$, $$2$$, or $$4$$. Only the identity element can have order $$1$$. If one element has order $$4$$, then it generates the whole group and you have a cyclic (hence abelian) group.
Otherwise the three non-identity elements each have order $$2$$.
$$e=\text{the identity}$$.
$$a,b,c=\text{the other three}$$.
$$a^2=b^2=c^2=e$$, and each of these is its own inverse.
So what is $$ab$$? It can't be $$e$$ since if $$ab=e$$ then $$(ab)b^{-1} = b^{-1}=b$$, and hence $$a=b$$. It can't be $$a$$ or $$b$$ since if $$ab=b$$ then $$(ab)b^{-1}=bb^{-1}=e$$ and so $$a=e$$, and similar reasoning shows it can't be $$a$$ (but you have to multiply on the left be the inverse).
So $$ab=c$$.
Similar reasoning shows $$ab=ba=c$$, and $$ac=ca=b$$ and $$bc=cb=a$$.
So the group is abelian.
• Chances are, at this stage of the game, the OP hasn't encountered Lagrange. I know Fraleigh includes this exercise long before introducing Lagrange... – amWhy Feb 11 '13 at 19:15
• @amWhy Because this is such a toy example, you don't need Lagrange; it's trivial to see that only the identity can have order 1, or that if one element has order 4 then the group must be cyclic. The only other possibility aside from the all-order-2 case is that some element (and therefore two elements) has order 3, and it's easy to eliminate this possibility. (Suppose that $a$ and $b$ have order 3, with $a^2=b$. $ca$ can't be $a$ and can't be $c$ by cancellation; it can't be $b$ because $ca=aa\implies c=a$, and it can't be the identity because then $ca=1=ba$ and again by cancellation $c=b$.) – Steven Stadnicki Feb 12 '13 at 23:33 | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. Yes\n2. Yes",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9854964228644457,
"lm_q1q2_score": 0.8743369563962531,
"lm_q2_score": 0.8872045966995027,
"openwebmath_perplexity": 214.06485455004116,
"openwebmath_score": 0.8426212668418884,
"tags": null,
"url": "https://math.stackexchange.com/questions/300393/group-tables-for-a-group-of-four-elements"
} |
# What does ceil mean ?
1. Apr 7, 2006
### momentum
Its diifcult to express my question....so, i am posting this
ceil(4.5) =?
ceil(4.1)=?
ceil(4.6)=?
2. Apr 7, 2006
### AKG
ceil(x) is the smallest integer which is greater than or equal to x. In particular, if x is an integer, then ceil(x) = x, and if x is not an integer, then ceil(x) > x.
3. Apr 7, 2006
### momentum
ceil(4.5)=4 // is it ok ?
ceil(4.1)=4 //is it ok ?
ceil(4.6)=5 //is it ok ?
4. Apr 7, 2006
### Integral
Staff Emeritus
Nope, read the defintion given above, then try again.
5. Apr 7, 2006
### momentum
ah...i see, all of them should be 5 .....i had confusion on fractional part .5.
but i see ..it does not care for .5 which we use for round-off.
6. Apr 7, 2006
Yes, all 5.
7. Apr 7, 2006
### momentum
thank you for the clarifcation
8. Apr 7, 2006
### bomba923
Recall that
$$\begin{gathered} \forall x \in \left( {a,a + 1} \right)\;{\text{where }}a \in \mathbb{Z}, \hfill \\ {\text{floor}}\left( x \right) = \left\lfloor x \right\rfloor = a \hfill \\ {\text{ceil}}\left( x \right) = \left\lceil x \right\rceil = a + 1 \hfill \\ \end{gathered}$$
$$\forall x \in \mathbb{Z},\;\left\lfloor x \right\rfloor = \left\lceil x \right\rceil = x$$
Last edited: Apr 7, 2006
9. Apr 7, 2006
### Staff: Mentor
ceil -> "goes up" if it needs to, in order reach an integer
floor -> "goes down" as it needs to, in order to reach an integer
What happens with negative numbers:
$$floor( -1.1 ) = -2 \; ceil( -1.1 ) = -1$$
$$floor( -0.1 ) = -1 \; ceil( -0.1 ) = 0$$
$$floor( 0.9 ) = 0 \; ceil( 0.9 ) = 1$$ | {
"domain": "physicsforums.com",
"id": null,
"lm_label": "1. YES\n2. YES\n\n",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.978712649448364,
"lm_q1q2_score": 0.8742932183565228,
"lm_q2_score": 0.8933094088947399,
"openwebmath_perplexity": 10961.216283612643,
"openwebmath_score": 0.44892311096191406,
"tags": null,
"url": "https://www.physicsforums.com/threads/what-does-ceil-mean.116822/"
} |
# How to translate this statement into a mathematical one(using appropriate quantifiers)?
The statement I'd like to translate into a mathematical one is
"Every American has a dream".
Let $$A$$ and $$D$$ denote the set of all Americans and the set of all dreams, respectively, and $$P(a,d)$$ denote the proposition "American $$a$$ has a dream $$d$$". The mathematically equivalent statement I've deduced is $$\forall a\in A.\exists d\in D.P(a, d)$$
However, I suspect the above statement implies that for every American there exists a common dream $$d$$ such that $$P(a,d)$$ holds true. I would like to know how to rectify this error(if there is one).
• Correct: "forall a there is a d..." does not mean that the d is the same for all a. To state that the d is the same, you have to write "there is a d for all a...". Compare $\forall n \exists m (n < m)$ and $\exists m \forall n (n < m)$. May 25, 2020 at 10:01 | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9787126482065489,
"lm_q1q2_score": 0.8742932172471978,
"lm_q2_score": 0.89330940889474,
"openwebmath_perplexity": 368.18121339178043,
"openwebmath_score": 0.922331690788269,
"tags": null,
"url": "https://math.stackexchange.com/questions/3690609/how-to-translate-this-statement-into-a-mathematical-oneusing-appropriate-quanti/3699299#3699299"
} |
1. The verifier of a sentence of the form "$$∀a{∈}A\ ( P(a) )$$" must let the refuter first choose any arbitrary $$a∈A$$ and then verify $$P(a)$$ no matter what $$a∈A$$ was chosen.
2. The verifier of a sentence of the form "$$∃d{∈}D\ ( Q(d) )$$" must first choose some $$d∈D$$ and then verify $$Q(d)$$ for that chosen $$d∈D$$.
In your example, the verifier of "$$∀a{∈}A\ ∃d{∈}D\ ( P(a,d) )$$" must let the refuter make the first move in choosing an $$a∈A$$, and then verify "$$∃d{∈}D\ ( P(a,d) )$$" no matter what $$a$$ was chosen. But since the verifier makes the second move in choosing some $$d∈D$$, the verifier can choose this $$d$$ based on the refuter's first move (i.e. based on $$a$$). That is why "Every American has a dream." corresponds to this sentence.
In contrast, the verifier of "$$∃d{∈}D\ ∀a{∈}A\ ( P(a,d) )$$" must make the first move in choosing some $$d∈D$$, before the refuter makes the second move in choosing an $$a∈A$$. You can see easily that the verifier can win only if there is a single choice of $$d∈D$$ that defeats every possible choice of $$a∈A$$. That is why "All Americans have a common dream." corresponds to this sentence and not the other one. | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9787126482065489,
"lm_q1q2_score": 0.8742932172471978,
"lm_q2_score": 0.89330940889474,
"openwebmath_perplexity": 368.18121339178043,
"openwebmath_score": 0.922331690788269,
"tags": null,
"url": "https://math.stackexchange.com/questions/3690609/how-to-translate-this-statement-into-a-mathematical-oneusing-appropriate-quanti/3699299#3699299"
} |
A right triangle may be isosceles … Input 3 triangle side lengths (A, B and C), then click "ENTER". Constructing an isosceles triangle Constructing an isosceles triangle also known as drawing an isosceles triangle using only a straightedge and a compass is what I will show you here. B - isosceles triangle. Yes, because it has an obtuse angle. Please update your bookmarks accordingly. Obtuse isosceles triangle with an irrational but algebraic ratio between the lengths of its sides and its base. This concept will teach students the properties of isosceles triangles and how to apply them to different types of problems. An isosceles right triangle therefore has angles of 45 degrees, 45 degrees, and 90 degrees. Apply the properties of isosceles triangles. An isosceles triangle is a special case of a triangle where 2 sides, a and c, are equal and 2 angles, A and C, are equal. Given below are the properties of isosceles and acute triangles. Parts of an Isosceles Triangle. The angles opposite the equal sides are also equal. Find information related to equilateral triangles, isosceles triangles, scalene triangles, obtuse triangles, acute triangles, right angle triangles, the hypotenuse, angles of a triangle and more. C - obtuse triangle. Let the coordinates of the right-angled isosceles triangle be O(0, 0), A(a, 0) and B(0, a). Area of the acute triangle is $$A = {1 \over 2} \times b \times h$$ The Perimeter of the Acute triangle is: $$P=a+b+c$$ The types of acute triangles are: a) Acute Equilateral Triangle b) Acute Isosceles Triangle c) Acute Scalene Triangle All three angles are different implies that all three sides of an acute scalene triangle are also different. The two shorter sides measure x cm and 3x cm. Without Using The Calculator When given 3 triangle sides, to determine if the triangle is acute… An acute angle triangle (or acute-angled triangle) is a triangle in which all the interior angles are acute angles. Step-by-step explanation: Correct statements and | {
"domain": "simonedavis.com",
"id": null,
"lm_label": "1. Yes\n2. Yes",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9787126457229186,
"lm_q1q2_score": 0.8742932129436024,
"lm_q2_score": 0.8933094067644466,
"openwebmath_perplexity": 462.12853572644497,
"openwebmath_score": 0.5174856185913086,
"tags": null,
"url": "http://simonedavis.com/h-xbu/10hec.php?page=acute-isosceles-triangle-421da2"
} |
in which all the interior angles are acute angles. Step-by-step explanation: Correct statements and reasons are in bold. A - acute triangle. For an acute triangle, all three angles of the triangle are from $$0^o$$ to $$90^o$$. This calculator will determine whether those 3 sides will form an equilateral, isoceles, acute, right or obtuse triangle or no triangle at all. In a right triangle, one of the angles is a right angle—an angle of 90 degrees. For example, if we know a and b we know c since c = a. Addtionally, like all triangles, the three angles will sum to . All the three angles situated within the isosceles triangle are acute, which signifies that the angles are less than 90°. We have moved all content for this concept to for better organization. Step 1: One of the angles of the given triangle is a right angle. Add these two angles together and subtract the answer from 180° to find the remaining third angle. Answer : D Explanation. the isosceles triangle can be acute, right or obtuse, but it depends only on the vertex angle (base angles are always acute) The equilateral triangle is a special case of a isosceles triangle. PROPERTIES OF ISOSCELES TRIANGLE ABC Let ABC be an isosceles triangle with | {
"domain": "simonedavis.com",
"id": null,
"lm_label": "1. Yes\n2. Yes",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9787126457229186,
"lm_q1q2_score": 0.8742932129436024,
"lm_q2_score": 0.8933094067644466,
"openwebmath_perplexity": 462.12853572644497,
"openwebmath_score": 0.5174856185913086,
"tags": null,
"url": "http://simonedavis.com/h-xbu/10hec.php?page=acute-isosceles-triangle-421da2"
} |
Tourist Places In Coimbatore Near Gandhipuram, Sunrunner Pembroke Welsh Corgis, Where Is Serana In Fort Dawnguard, Hello Etch A Sketch Font, Monkey King Characters, Adam Bradley Amazon, | {
"domain": "simonedavis.com",
"id": null,
"lm_label": "1. Yes\n2. Yes",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9787126457229186,
"lm_q1q2_score": 0.8742932129436024,
"lm_q2_score": 0.8933094067644466,
"openwebmath_perplexity": 462.12853572644497,
"openwebmath_score": 0.5174856185913086,
"tags": null,
"url": "http://simonedavis.com/h-xbu/10hec.php?page=acute-isosceles-triangle-421da2"
} |
# C F Gauss, on how to add all numbers of 1 to 100?
#### CaptainBlack
##### Well-known member
Carl gauss 1777 1855 , on how to add all numbers of 1 to 100?
I can only add from 1 to 100 in order, apparently he could add lighteningly fast, and backwards, can anyone explain how in the confines of one message on here please
Allegedly his method was something like:
$(1+100)+(2+99)+ ... +(99+2)+(100+1)=2(1+2+...+100)$
But the left hand side is $101\times 100$, so $1+2+..100=101\times 100/2$
(Like Marlow's Dr Faustus he could sum them forwards and backwards - but had no need of anagramatisation)
CB
Last edited:
#### Bacterius
##### Well-known member
MHB Math Helper
This also works for any sum:
$\displaystyle \sum_{k = 1}^{n} k = 1 + 2 + \cdots + n$
This sum can be reorganized in this fashion:
$\displaystyle \left ( 1 + \left ( n \right ) \right ) + \left ( 2 + \left ( n - 1 \right ) \right ) + \cdots + \left (n + \left (1 \right ) \right )$
This produces $n$ sums of $n + 1$, so the total sum is $n(n + 1)$. But note that this goes through the list twice, from the left and from the right (for instance, $1$ is added to $n$ at the beginning and at the end). So this is actually twice the sum we need, we conclude:
$\displaystyle \sum_{k = 1}^{n} k = \frac{n(n + 1)}{2}$
$n = 100$ can then be easily calculated from the formula, just as can $n = 4885$ or $n = 6$
#### QuestForInsight
##### Member
I would like to share two more ways of doing this.
Proof #0 (Notice that what Gauss did is basically this):
\begin{aligned} \displaystyle & \sum_{0 \le k \le n}k = \sum_{0 \le k \le n}(n-k) = n\sum_{0 \le k \le n}-\sum_{0 \le k \le n}k \\& \implies 2\sum_{0 \le k \le n}k = n(n+1) \implies \sum_{0 \le k \le n}k = \frac{1}{2}n(n+1).\end{aligned}
Proof #1 (Now try that with $\sum_{0 \le k \le n}k^2$ and you will be pleasantly surprised): | {
"domain": "mathhelpboards.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9871787830929849,
"lm_q1q2_score": 0.874276606552537,
"lm_q2_score": 0.8856314798554444,
"openwebmath_perplexity": 1325.934489167124,
"openwebmath_score": 0.9937049746513367,
"tags": null,
"url": "https://mathhelpboards.com/threads/c-f-gauss-on-how-to-add-all-numbers-of-1-to-100.1832/"
} |
Proof #1 (Now try that with $\sum_{0 \le k \le n}k^2$ and you will be pleasantly surprised):
\begin{aligned} \displaystyle & \sum_{0 \le k \le n}k^2 = \sum_{0 \le k \le n}(n-k)^2 = n^2\sum_{0 \le k \le n}-2n\sum_{0 \le k \le n}k+\sum_{0 \le k \le n}k^2 \\& \implies 2n\sum_{0 \le k \le n}k = n^2(n+1) \implies \sum_{0 \le k \le n}k = \frac{1}{2}n(n+1).\end{aligned}
Proof #2 (Writing it as a double sum and switching the order of summation):
\begin{aligned}\displaystyle & \begin{aligned}\sum_{1 \le k \le n}k & = \sum_{1 \le k \le n}~\sum_{1 \le r \le k} = \sum_{1 \le r \le n} ~\sum_{r \le k \le n} = \sum_{1 \le r \le n}\bigg(\sum_{1 \le k \le n}-\sum_{1 \le k \le r-1}\bigg) \\& =\sum_{1 \le r \le n}\bigg(n-r+1\bigg) = n\sum_{1 \le k \le n}-\sum_{1 \le k \le n}k+\sum_{1 \le k \le n}\end{aligned} \\& \implies 2\sum_{1 \le k \le n}k = n^2+n \implies \sum_{1 \le k \le n}k = \frac{1}{2}n(n+1), ~ \mathbb{Q. E. D.}\end{aligned}
Last edited:
#### MarkFL
Staff member
Here are two closely related methods to derive the formulas for summations of sequences of natural number powers of integers from 0 - n.
Method 1: A "bottom-up" approach...
We may state:
$\displaystyle\sum_{k=0}^n(k)=\sum_{k=0}^n(k+1)-(n+1)$
$\displaystyle\sum_{k=0}^n(k)=\sum_{k=0}^n(k)+\sum_{k=0}^n(1)-(n+1)$
$\displaystyle0=\sum_{k=0}^n(1)-(n+1)$
$\displaystyle\sum_{k=0}^n(1)=n+1$
Now we may compute:
$\displaystyle\sum_{k=0}^n(k)$
We may state:
$\displaystyle\sum_{k=0}^n\left(k^2 \right)=\sum_{k=0}^n\left((k+1)^2 \right)-(n+1)^2$
$\displaystyle\sum_{k=0}^n\left(k^2 \right)=\sum_{k=0}^n\left(k^2+2k+1 \right)-(n+1)^2$
$\displaystyle\sum_{k=0}^n\left(k^2 \right)=\sum_{k=0}^n\left(k^2 \right)+2\sum_{k=0}^n(k)+\sum_{k=0}^n(1)-(n+1)^2$
$\displaystyle2\sum_{k=0}^n(k)=-\sum_{k=0}^n(1)+(n+1)^2$
Now, using our previous result, we have:
$\displaystyle2\sum_{k=0}^n(k)=-(n+1)+(n+1)^2$
$\displaystyle2\sum_{k=0}^n(k)=(n+1)\left(-1+(n+1) \right)$
$\displaystyle2\sum_{k=0}^n(k)=(n+1)(n)$ | {
"domain": "mathhelpboards.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9871787830929849,
"lm_q1q2_score": 0.874276606552537,
"lm_q2_score": 0.8856314798554444,
"openwebmath_perplexity": 1325.934489167124,
"openwebmath_score": 0.9937049746513367,
"tags": null,
"url": "https://mathhelpboards.com/threads/c-f-gauss-on-how-to-add-all-numbers-of-1-to-100.1832/"
} |
$\displaystyle2\sum_{k=0}^n(k)=(n+1)(n)$
$\displaystyle\sum_{k=0}^n(k)=\frac{n(n+1)}{2}$
Now we may continue and find:
$\displaystyle\sum_{k=0}^n\left(k^2 \right)$
$\displaystyle\sum_{k=0}^n\left(k^3 \right)=\sum_{k=0}^n\left((k+1)^3 \right)-(n+1)^3$
$\displaystyle\sum_{k=0}^n\left(k^3 \right)=\sum_{k=0}^n\left(k^3+3k^2+3k+1 \right)-(n+1)^3$
$\displaystyle\sum_{k=0}^n\left(k^3 \right)=\sum_{k=0}^n\left(k^3 \right)+3\sum_{k=0}^n\left(k^2 \right)+3\sum_{k=0}^n(k)+\sum_{k=0}^n(1)-(n+1)^3$
$\displaystyle3\sum_{k=0}^n\left(k^2 \right)=-3\sum_{k=0}^n(k)-\sum_{k=0}^n(1)+(n+1)^3$
Using our previous results, we have:
$\displaystyle3\sum_{k=0}^n\left(k^2 \right)=-3\left(\frac{n(n+1)}{2} \right)-(n+1)+(n+1)^3$
$\displaystyle3\sum_{k=0}^n\left(k^2 \right)=(n+1)\left(-\frac{3n}{2}-1+(n+1)^2 \right)$
$\displaystyle3\sum_{k=0}^n\left(k^2 \right)=(n+1)\left(-\frac{3n}{2}-1+n^2+2n+1 \right)$
$\displaystyle3\sum_{k=0}^n\left(k^2 \right)=(n+1)\left(n^2+\frac{n}{2} \right)$
$\displaystyle3\sum_{k=0}^n\left(k^2 \right)=\frac{n(n+1)(2n+1)}{2}$
$\displaystyle\sum_{k=0}^n\left(k^2 \right)=\frac{n(n+1)(2n+1)}{6}$
We may continue this process, to find further power summations.
Method 2: A recursion approach...
Suppose we want to find:
$\displaystyle S_n=\sum_{k=0}^n\left(k^3 \right)$
We may use the inhomogeneous recursion to state:
$\displaystyle S_n=S_{n-1}+n^3$
Now, we may use symbolic differencing to ultimately derive a homogeneous recursion.
We begin by replacing n with n + 1:
$\displaystyle S_{n+1}=S_{n}+(n+1)^3$
Subtracting the former from the latter, there results:
$\displaystyle S_{n+1}=2S_{n}-S_{n-1}+3n^2+3n+1$
$\displaystyle S_{n+2}=2S_{n+1}-S_{n}+3(n+1)^2+3(n+1)+1$
Subtracting again:
$\displaystyle S_{n+2}=3S_{n+1}-3S_{n}+S_{n-1}+6n+6$
$\displaystyle S_{n+3}=3S_{n+2}-3S_{n+1}+S_{n}+6(n+1)+6$
Subtracting again:
$\displaystyle S_{n+3}=4S_{n+2}-6S_{n+1}+4S_{n}-S_{n-1}+6$
$\displaystyle S_{n+4}=4S_{n+3}-6S_{n+2}+4S_{n+1}-S_{n}+6$
Subtracting again: | {
"domain": "mathhelpboards.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9871787830929849,
"lm_q1q2_score": 0.874276606552537,
"lm_q2_score": 0.8856314798554444,
"openwebmath_perplexity": 1325.934489167124,
"openwebmath_score": 0.9937049746513367,
"tags": null,
"url": "https://mathhelpboards.com/threads/c-f-gauss-on-how-to-add-all-numbers-of-1-to-100.1832/"
} |
$\displaystyle S_{n+4}=4S_{n+3}-6S_{n+2}+4S_{n+1}-S_{n}+6$
Subtracting again:
$\displaystyle S_{n+4}=5S_{n+3}-10S_{n+2}+10S_{n+1}-5S_{n}+S_{n-1}$
Now we have a homogeneous recursion whose associated characteristic equation is:
$\displaystyle (r-1)^5=0$
Since we have the root $\displaystyle r=1$ of multiplicity 5, we know the closed form for the sum will take the form:
$\displaystyle S_n=k_0+k_1n+k_2n^2+k_3n^3+k_4n^4$
We may use known initial values to determine the constants $\displaystyle k_i$.
$\displaystyle S_0=k_0=0$
This means, we are left with the 4X4 system:
$\displaystyle k_1+k_2+k_3+k_4=1$
$\displaystyle 2k_1+4k_2+8k_3+16k_4=9$
$\displaystyle 3k_1+9k_2+27k_3+81k_4=36$
$\displaystyle 4k_1+16k_2+64k_3+256k_4=100$
Did you notice we get the squares of successive triangular numbers? Anyway, solving this system, we find:
$\displaystyle k_1=0,k_2=\frac{1}{4},k_3=\frac{1}{2},k_4=\frac{1}{4}$
And so, we have:
$\displaystyle S_n=\frac{1}{4}n^2+\frac{1}{2}n^3+\frac{1}{4}n^4= \frac{n^4+2n^3+n^2}{4}=$
$\displaystyle\frac{n^2(n+1)^2}{4}=\left( \frac{n(n+1)}{2} \right)^2$
#### melese
##### Member
a nice combinatorial proof
To each yellow circle we can associate a pair of green circles in the way suggested by the drawing. This shows a bijection between (and hence the same number of) all the yellow circles and all the pairs of green circles.
Here, there are $1+2+3+4+5+6+7+8$ yellow circles, and the number of green-circle pairs is $\binom{9}{2}$; so $1+2+3+4+5+6+7+8=\binom{9}{2}$.
(I saw this 'proof without words' in a lecture by Gil Kalai)
#### HallsofIvy
##### Well-known member
MHB Math Helper
$(1+100)+(2+99)+ ... +(99+2)+(100+1)=2(1+2+...+100)$
But the left hand side is $101\times 100$, so $1+2+..100=101\times 100/2$ | {
"domain": "mathhelpboards.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9871787830929849,
"lm_q1q2_score": 0.874276606552537,
"lm_q2_score": 0.8856314798554444,
"openwebmath_perplexity": 1325.934489167124,
"openwebmath_score": 0.9937049746513367,
"tags": null,
"url": "https://mathhelpboards.com/threads/c-f-gauss-on-how-to-add-all-numbers-of-1-to-100.1832/"
} |
math, probability
13. Exercise: Convergence in probability:
a) Suppose that Xn is an exponential random variable with parameter lambda = n. Does the sequence {Xn} converge in probability?
b) Suppose that Xn is an exponential random variable with parameter lambda = 1/n. Does the sequence {Xn} converge in probability?
c) Suppose that the random variable in the sequence {Xn} are independent, and that the sequence converges to some number a, in probability.
Let {Yn} be another sequence of random variables that are dependent, but where each Yn has the same distribution (CDF) as Xn. Is it necessarily true that the sequence {Yn} converges to a in probability?
1. 👍
2. 👎
3. 👁
1. a) yes
b) no
c) yes
1. 👍
2. 👎
2. y
n
n
1. 👍
2. 👎
3. 142n=47 find n
1. 👍
2. 👎
Similar Questions
1. STATISTICS
Consider a binomial random variable where the number of trials is 12 and the probability of success on each trial is 0.25. Find the mean and standard deviation of this random variable. I have a mean of 4 and a standard deviation
2. Probability
Problem 1. Starting at time 0, a red bulb flashes according to a Poisson process with rate λ=1 . Similarly, starting at time 0, a blue bulb flashes according to a Poisson process with rate λ=2 , but only until a nonnegative
3. mathematics, statistics
You observe k i.i.d. copies of the discrete uniform random variable Xi , which takes values 1 through n with equal probability. Define the random variable M as the maximum of these random variables, M=maxi(Xi) . 1.) Find the
4. math
Suppose that the time (in hours) required to repair a machine is an exponentially distributed random variable with parameter λ (lambda) = 0.5. What's the probability that a repair takes less than 5 hours? AND what's the
1. Statistics
A random variable is normally distributed with a mean of 50 and a standard deviation of 5. b. What is the probability that the random variable will assume a value between 45 and 55 (to 4 decimals)? c. What is the probability that | {
"domain": "jiskha.com",
"id": null,
"lm_label": "1. Yes\n2. Yes",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9664104943498961,
"lm_q1q2_score": 0.8742637789148511,
"lm_q2_score": 0.9046505434556232,
"openwebmath_perplexity": 675.35429541727,
"openwebmath_score": 0.8852372169494629,
"tags": null,
"url": "https://www.jiskha.com/questions/1799344/13-exercise-convergence-in-probability-a-suppose-that-xn-is-an-exponential-random"
} |
2. probability
Let K be a discrete random variable that can take the values 1 , 2 , and 3 , all with equal probability. Suppose that X takes values in [0,1] and that for x in that interval we have fX|K(x|k)=⎧⎩⎨1,2x,3x2,if k=1,if k=2,if
3. Math
Suppose a baseball player had 211 hits in a season. In the given probability distribution, the random variable X represents the number of hits the player obtained in the game. x P(x) 0 0.1879 1 0.4106 2 0.2157 3 0.1174 4 0.0624 5
4. Statistics
In a study by Peter D. Hart Research Associates for the Nasdaq Stock Market, it was determined that 20% of all stock investors are retired people. In addition, 40% of all adults invest in mutual funds. Suppose a random sample of
1. probability
Problem 2. Continuous Random Variables 2 points possible (graded, results hidden) Let 𝑋 and 𝑌 be independent continuous random variables that are uniformly distributed on (0,1) . Let 𝐻=(𝑋+2)𝑌 . Find the probability
2. Probability
Question:A fair coin is flipped independently until the first Heads is observed. Let the random variable K be the number of tosses until the first Heads is observed plus 1. For example, if we see TTTHTH, then K=5. For K=1,2,3...K,
3. statistics MIT
2 Let X1,…,Xn be i.i.d. random variable with pdf fθ defined as follows: fθ(x)=θxθ−11(0≤x≤1) where θ is some positive number. (a) Is the parameter θ identifiable? Yes No (b) Compute the maximum likelihood estimator
4. Statistics
A person's level of blood glucose and diabetes are closely related. Let x be a random variable measured in milligrams of glucose per deciliter (1/10 of a liter) of blood. Suppose that after a 12-hour fast, the random variable x | {
"domain": "jiskha.com",
"id": null,
"lm_label": "1. Yes\n2. Yes",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9664104943498961,
"lm_q1q2_score": 0.8742637789148511,
"lm_q2_score": 0.9046505434556232,
"openwebmath_perplexity": 675.35429541727,
"openwebmath_score": 0.8852372169494629,
"tags": null,
"url": "https://www.jiskha.com/questions/1799344/13-exercise-convergence-in-probability-a-suppose-that-xn-is-an-exponential-random"
} |
Accelerating the pace of engineering and science
# istriu
Determine if matrix is upper triangular
## Description
example
tf = istriu(A) returns logical 1 (true) if A is an upper triangular matrix; otherwise, it returns logical 0 (false).
## Examples
expand all
### Test Upper Triangular Matrix
Create a 5-by-5 matrix.
`A = triu(magic(5))`
```A =
17 24 1 8 15
0 5 7 14 16
0 0 13 20 22
0 0 0 21 3
0 0 0 0 9```
Test A to see if it is upper triangular.
`istriu(A)`
```ans =
1
```
The result is logical 1 (true) because all elements below the main diagonal are zero.
### Test Matrix of Zeros
Create a 5-by-5 matrix of zeros.
`Z = zeros(5);`
Test Z to see if it is upper triangular.
`istriu(Z)`
```ans =
1
```
The result is logical 1 (true) because an upper triangular matrix can have any number of zeros on the main diagonal.
## Input Arguments
expand all
### A — Input arraynumeric array
Input array, specified as a numeric array. istriu returns logical 0 (false) if A has more than two dimensions.
Data Types: single | double
Complex Number Support: Yes
expand all
### Upper Triangular Matrix
A matrix is upper triangular if all elements below the main diagonal are zero. Any number of the elements on the main diagonal can also be zero.
For example, the matrix
$A=\left(\begin{array}{cccc}1& -1& -1& -1\\ 0& \text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}1& -2& -2\\ 0& \text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}0& \text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}1& -3\\ 0& \text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}0& \text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}0& \text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}1\end{array}\right)$
is upper triangular. A diagonal matrix is both upper and lower triangular.
### Tips | {
"domain": "mathworks.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9693241956308278,
"lm_q1q2_score": 0.8742535432438331,
"lm_q2_score": 0.9019206857566126,
"openwebmath_perplexity": 2690.328343826514,
"openwebmath_score": 0.7404126524925232,
"tags": null,
"url": "http://www.mathworks.com/help/matlab/ref/istriu.html?s_tid=gn_loc_drop&nocookie=true"
} |
is upper triangular. A diagonal matrix is both upper and lower triangular.
### Tips
• Use the triu function to produce upper triangular matrices for which istriu returns logical 1 (true).
• The functions isdiag, istriu, and istril are special cases of the function isbanded, which can perform all of the same tests with suitably defined upper and lower bandwidths. For example, istriu(A) == isbanded(A,0,size(A,2)). | {
"domain": "mathworks.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9693241956308278,
"lm_q1q2_score": 0.8742535432438331,
"lm_q2_score": 0.9019206857566126,
"openwebmath_perplexity": 2690.328343826514,
"openwebmath_score": 0.7404126524925232,
"tags": null,
"url": "http://www.mathworks.com/help/matlab/ref/istriu.html?s_tid=gn_loc_drop&nocookie=true"
} |
# Generalized Fibonacci sequences
Why Fibonacci sequence start at $0$, Tribonacci sequence with $0,0$, Tetranacci with $0,0,0$, etc. [ref OEIS] Has any good reasons for that?
These sequences arise in generalization of Pascal Triangle as diagonal sums and there they start at $1$.
Pascal triangle:
$$\begin{array}{} \color{red}1& \color{blue}0& \color{green}0& \color{cyan}0&\dots\\ \color{blue}1& \color{green}1& \color{cyan}0& \color{magenta}0&\dots\\ \color{green}1& \color{cyan}2& \color{magenta}1& 0&\dots\\ \color{cyan}1& \color{magenta}3& 3& \color{red}1&\dots\\ \vdots&\vdots&\vdots&\vdots&\ddots \end{array}$$
diagonal sum gives $\color{red}1,\color{blue}1,\color{green}2,\color{cyan}3,\color{magenta}5,8,\color{red}{13}\dots$ Fibonacci sequence
First generalization:
$$\begin{array}{r} \color{red}1& \color{blue}0& \color{green}0& \color{cyan}0& \color{magenta}0& 0&\color{red}0&\dots\\ \color{blue}1& \color{green}1& \color{cyan}1& \color{magenta}0& 0& \color{red}0&\color{blue}0&\dots\\ \color{green}1& \color{cyan}2& \color{magenta}3& 2& \color{red}1& \color{blue}0&\color{green}0&\dots\\ \color{cyan}1& \color{magenta}3& 6& \color{red}7& \color{blue}6& \color{green}3&\color{cyan}1&\dots\\ \color{magenta}1&4&\color{red}{10}&\color{blue}{16}&\color{green}{19}&\color{cyan}{16}&\color{magenta}{10}&\dots\\ \vdots&\vdots&\vdots&\vdots&\vdots&\vdots&\vdots&\ddots \end{array}$$
gives sequence of diagonal sum $\color{red}1,\color{blue}1,\color{green}2,\color{cyan}4,\color{magenta}7,\dots$, Tribonacci sequence, etc. | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9693241965169938,
"lm_q1q2_score": 0.8742535357379186,
"lm_q2_score": 0.9019206771886166,
"openwebmath_perplexity": 476.2738541921384,
"openwebmath_score": 0.8445354104042053,
"tags": null,
"url": "http://math.stackexchange.com/questions/92393/generalized-fibonacci-sequences"
} |
-
Sorry, I'm slow: how are you computing your diagonal sums? – Guess who it is. Dec 18 '11 at 1:29
Also, if you look here, I'd say it's pretty convenient to have the generalized Fibonacci numbers take on positive values for positive index. – Guess who it is. Dec 18 '11 at 1:33
Thanks @Robert! I found this in the meantime. – Guess who it is. Dec 18 '11 at 1:37
@J.M.: I added some color to make it more obvious. – Brian M. Scott Dec 18 '11 at 2:19
@Peter: If $a(r,c)$ is the entry in row $r$, column $c$, $$a(r+1,c)=a(r,c)+a(r,c-1)+a(r,c-2)\;.$$ There’s an error in the table, which I’ve now fixed. – Brian M. Scott Dec 18 '11 at 10:04
The essential definition of a $k$-nacci sequence is that the earliest positive term is $1$ and all subsequent terms are the sum of the previous $k$ terms.
So to find the second earliest positive term (which is also $1$) you need at least $k-1$ zeros at the beginning of the sequence to do the sum. In your tables there are at least $k-1$ columns of implicit zeroes to the left of the columns you show.
Since the Fibonacci sequence conventionally starts with $F(1)=1$ and $F(0)=0$, it is a plausible but not necessary convention to start the $k$-nacci sequence with the initial leading zero also at a zero index, and this is what the OEIS has done.
You could do something different, but then you would need to translate between your indices and those used by others. That is the effect of conventions.
-
While it looks natural to start Fibonacci at $f_1=1$, the Fibonacci actually goes both ways. Indeed
$$f_{n+1}=f_n+f_{n-1} \,,$$ implies
$$f_{n-1}= f_{n+1}-f_n \,.$$
Thus you can calculate $f_0$ and $f_{-n}$.
Given a recurrence which goes in both directions, any "start" point is somewhat artificial.
I find the start $f_0=0$ useful when I work with the matrices
$$F:=\left( \begin{array}{rr} 1 & 1\\ 1 & 0 \end{array}\right)=\left(\begin{array}{rr} f_2 & f_1\\ f_1 & f_0 \end{array}\right) \,.$$ | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9693241965169938,
"lm_q1q2_score": 0.8742535357379186,
"lm_q2_score": 0.9019206771886166,
"openwebmath_perplexity": 476.2738541921384,
"openwebmath_score": 0.8445354104042053,
"tags": null,
"url": "http://math.stackexchange.com/questions/92393/generalized-fibonacci-sequences"
} |
Note that without starting with $f_0=0$, the standard formula
$$F^n= \left(\begin{array}{rr} f_{n+1} & f_n\\ f_n & f_{n-1} \end{array}\right)$$
would not work for $n=1$. This would make some consequences weaker, since you'd need always the eliminate the case when the parameter(s) are 1. But this would be a not needed elimination.
It is somehow similar to the following situation: You have a function $f$ in the complex plane, and you can prove it is entire, but you only need the fact that it is Analytical in some region $R$. What do you do? Do you prove that it is Analytic in the region you need for the applications you are interested, or prove it is entire?
Who knows, at some point in the future you might need that the function it is entire. You also might need to work with $f_0$, and I explained above why $f_n$ can be extended in an unique way below 0. Same can be said about the other sequences.
-
As for "Why Fibonacci sequence start at $0$?" one compelling reason is that this indexing is the natural one that reveals their interesting divisibility properties, namely that they form a strong divisibility sequence, i.e.
$$\rm\ gcd(f_m,f_n)\ =\ f_{\:gcd(m,n)}$$
hence $\rm\ m\ |\ n\ \Rightarrow\ f_m\ |\ f_n\$ etc. Analogous results hold for the more general class of Lucas-Lehmer sequences, which prove convenient when studying elementary number theory of quadratic fields, e.g. generalizations of Fermat's little theorem, Euler's $\phi$ totient function, etc. If one changed the indexing then many of these results would be greatly obfuscated.
That said, it should be emphasized that such definitions are merely conventions that prove useful in the context at hand. In other contexts - where such divisibility properties play no role - another indexing might prove more convenient. | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9693241965169938,
"lm_q1q2_score": 0.8742535357379186,
"lm_q2_score": 0.9019206771886166,
"openwebmath_perplexity": 476.2738541921384,
"openwebmath_score": 0.8445354104042053,
"tags": null,
"url": "http://math.stackexchange.com/questions/92393/generalized-fibonacci-sequences"
} |
-
Can you be more specific about Lucas-Lehmer sequences as a general notion? The only somewhat authoritative mention I can find is in OEIS, but is is only one sequence, even though its title enigmatically uses the indefinite article. As far as I know the only thing really called after Lucas and Lehmer is the primality test (in which the above sequence occurs, and no other). Possibly you meant Lucas sequences? – Marc van Leeuwen Dec 18 '11 at 8:02
@Marc D.H. Lehmer developed an extended theory of Lucas sequences in his PhD thesis, which was published in Annals of Math., 1930 Due to such, many authors refer to the general class as Lucas-Lehmer sequences, e.g. see Ribenboim's The New Book of Prime Number Records, 1996. – Bill Dubuque Dec 18 '11 at 15:07
Once you have also an expression, which allows interpolating to noninteger n (thus putting the sequence into a greater framework), then this might provide an argument to select a specific n as beginning of the sequence. For the Fibonacci-numbers I think the Binet-formula is
$$\small fib(n) = {((1+\sqrt 5 )^n - (1-\sqrt 5)^n) \over 2^n \sqrt 5 }$$ and then $\small fib(0) = 0$. Surely one can insert an arbitrary offset for n into the defining expression, but the given definition may be taken as the most natural.
- | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9693241965169938,
"lm_q1q2_score": 0.8742535357379186,
"lm_q2_score": 0.9019206771886166,
"openwebmath_perplexity": 476.2738541921384,
"openwebmath_score": 0.8445354104042053,
"tags": null,
"url": "http://math.stackexchange.com/questions/92393/generalized-fibonacci-sequences"
} |
# Why there are no constant functions on $\mathbb{R}$ with compact support?
For some the question might seem trivial but the concept is new to me and I have been wondering why there are no constant functions on $$\mathbb{R}$$ with compact support?
Following wiki:
Def.1) Functions with compact support on a topological space $$X$$ are those whose support is a compact subset of $$X$$.
Def.2) $$\operatorname{supp}f=:\overline{\{x\in X\;,f(x)\neq 0\}}$$
What if we take such function $$f:\mathbb{R}\to\mathbb{R}$$ defined as $$f(x)=0\;,\forall x\in\mathbb{R}$$ then $$\operatorname{supp}f=\overline{\{x\in\mathbb{R}\;,f(x)\neq 0\}}=\overline{\emptyset}=\emptyset$$ but $$\emptyset$$ is a compact subset of $$\mathbb{R}$$ I think....
Could someone enlighten me? Thank you.
• Where were you told that no constant functions on $\mathbb{R}$ have compact support? – Hayden May 31 '14 at 18:28
• well, anyway that's the only one there is, $f \equiv 0$ – mm-aops May 31 '14 at 18:30
• @Hayden: here for example www-personal.umich.edu/~wangzuoq/437W13/Notes/Lec%2030.pdf (12th line) – user124471 May 31 '14 at 18:32
• Well, I'd beg to differ with the claim, for precisely the example you gave. But as mm-aops pointed out, it's the only example. – Hayden May 31 '14 at 18:35
• the statement is very clear : ''there are NO functions'', (such functions don't exists). The real question here is if my counter-example is really correct (i.e that I followed all definitions correctly and so on). – user124471 May 31 '14 at 18:37
## 1 Answer
The author in the article you link to (www-personal.umich.edu/~wangzuoq/437W13/Notes/Lec%2030.pdf) is just being sloppy. He really should have said there are no non-zero constant functions with compact support on $\mathbb R$ (and thus $H_c^0(\mathbb R)$.
So yes, your example is correct. The empty set is (tautologically) compact. | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.977022630759019,
"lm_q1q2_score": 0.8742295499234755,
"lm_q2_score": 0.894789457685656,
"openwebmath_perplexity": 391.05891677772047,
"openwebmath_score": 0.7760120034217834,
"tags": null,
"url": "https://math.stackexchange.com/questions/816281/why-there-are-no-constant-functions-on-mathbbr-with-compact-support"
} |
So yes, your example is correct. The empty set is (tautologically) compact.
• Hi Fredrik. Thank you. Unfortunately it is not the first time I have seen it....Exactly the same statement I found in Bott, Tu, ''Differential forms in algebraic topology''. Cheers – user124471 May 31 '14 at 18:44
• @user124471 Yep, I've seen it as well. In fact, I was just reading in the book by Bott & Tu a week ago, and had to think about the exact same question as you asked. – Fredrik Meyer May 31 '14 at 18:47
• @user124471 I was wondering the same thing! Now I know. Can you include Bott Tu in your question? – user636532 May 29 '19 at 11:27 | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.977022630759019,
"lm_q1q2_score": 0.8742295499234755,
"lm_q2_score": 0.894789457685656,
"openwebmath_perplexity": 391.05891677772047,
"openwebmath_score": 0.7760120034217834,
"tags": null,
"url": "https://math.stackexchange.com/questions/816281/why-there-are-no-constant-functions-on-mathbbr-with-compact-support"
} |
# $x_1 \cdot \dots \cdot x_n=1 \implies x_1 + \dots + x_n \ge n$
Suppose $x_1, \dots, x_n$ are positive real numbers such that $x_1 \cdot \ldots \cdot x_n = 1$. Prove $x_1 + \dots + x_n \ge n$.
I don't want to use the AM-GM inequality to prove this (from which this statement would follow).
I suppose induction is the way to go. The base case is true. The case for $n=2$ is true by $$x_1 + x+2 - 2 \sqrt{x_1 x_2} = (\sqrt{x_1} - \sqrt{x_n})^2 \ge 0.$$
Now suppose the statement holds for $n$, then $$x_1 \cdot \ldots \cdot x_n = 1 \implies x_1 + \dots + x_n \ge n.$$
So if $x_1 \cdot \ldots \cdot (x_n x_{n+1}) = 1$, then $$x_1 + \dots + x_n x_{n+1} \ge n.$$
Then we also have $$x_1 + \dots + x_{n-1} + x_n + x_{n+1} \ge n - x_{n}x_{n+1} + x_n + x_{n+1}.$$
Now I'm not sure where else to go from here.
• Seem similar in proving AM-GM by induction I think – Azlif Dec 21 '17 at 23:25
• @MathematicianByMistake Induction certainly works, since this is just a special case of AM-GM which is proven by induction. – B. Mehta Dec 21 '17 at 23:29
Thus, it's enough to prove that $$n-x_nx_{n+1}+x_n+x_{n+1}\geq n+1$$ or $$(x_n-1)(x_{n+1}-1)\leq0,$$ which you can assume before.
Indeed, since $\prod\limits_{k=1}^{n+1}x_k=1$, there are $x_i$ and $x_j$ for which $(x_i-1)(x_j-1)\leq0.$ | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9802808736209154,
"lm_q1q2_score": 0.874225317773548,
"lm_q2_score": 0.8918110526265555,
"openwebmath_perplexity": 250.2843070682906,
"openwebmath_score": 0.9568802714347839,
"tags": null,
"url": "https://math.stackexchange.com/questions/2576298/x-1-cdot-dots-cdot-x-n-1-implies-x-1-dots-x-n-ge-n"
} |
• It's not entirely clear to me why this can be assumed. – B. Mehta Dec 21 '17 at 23:31
• @B. Mehta Since $\prod\limits_{k=1}^{n+1}x_k=1$, there are $x_i$ and $x_j$ for which $(x_i-1)(x_j-1)\leq0.$ – Michael Rozenberg Dec 21 '17 at 23:33
• Ah, so there's a relabeling step added earlier. – B. Mehta Dec 21 '17 at 23:34
• @B.Mehta I believe the logic is: there has to be at least one value greater-than-or-equal-to 1 and at least one less-than-or-equal-to 1. Rearrange so that these two values come last. – Addem Dec 21 '17 at 23:34
• @MichaelRozenberg Thanks, very helpful. I would like to verify this last part with there needing to be a pair with one greater and one and one less. By contradiction, suppose for every $x_i$ and $x_j$, $(x_i -1)(x_j-1) > 0$, then either all pairs are greater than one or less than one which in either case would result in a product of the $x_k$'s being greater than 1 or less than one, respectively. – user330531 Dec 21 '17 at 23:42
The inequality follows from AM-GM, indeed: $\;x_1 + \dots + x_n \ge n \cdot \sqrt[n]{x_1 \cdot \ldots \cdot x_n}\,$.
Below is a proof of AM-GM by induction, along a different idea than the ones posted already.
Lemma. $\;(n-1)t^n+1 \ge n t^{n-1}\;$ for all $\;t \ge 1\,$.
Let $f\,(t)=(n-1)t^n - n t^{n-1} + 1\,$, then $\,f(1) = 0\,$ and $\,f'(t)=n(n-1)t^{n-2}(t-1) \ge 0\,$, so $\,f\,$ is increasing from $\,f(1)=0\,$ for $\,t \ge 1\,$ and therefore $\,f(t) \ge 0\,$ for $\,t \ge 1\,$.
(The stronger statement is true that $\,f(t) \ge 0\,$ for all $\,t \ge 0\,$. That follows from the identity $\,(n-1)t^n - n t^{n-1} + 1 = (t-1)^2 \cdot \sum_{k=1}^{n-1} k \cdot t^{k-1}\,$ which has an elementary no-calculus proof.)
Induction step. The AM-GM inequality is homogeneous, so it can be assumed WLOG that the smallest $x_j=1\,$. Assume again WLOG that $\,j=n\,$, then the inequality reduces to: | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9802808736209154,
"lm_q1q2_score": 0.874225317773548,
"lm_q2_score": 0.8918110526265555,
"openwebmath_perplexity": 250.2843070682906,
"openwebmath_score": 0.9568802714347839,
"tags": null,
"url": "https://math.stackexchange.com/questions/2576298/x-1-cdot-dots-cdot-x-n-1-implies-x-1-dots-x-n-ge-n"
} |
$$x_1+x_2+ \cdots + x_{n-1} + 1 \ge n \cdot \sqrt[n]{x_1 \cdot \ldots \cdot x_{n-1}} \quad\style{font-family:inherit}{\text{with}}\quad x_i \ge 1, \;i=1,2,\ldots,n-1$$
By the induction hypothesis:
$$\,x_1+\cdots+x_{n-1} \ge (n-1) \sqrt[n-1]{x_1\cdot \ldots \cdot x_{n-1}} \tag{1}$$
Also, it follows from the lemma with $\,t = \sqrt[n(n-1)]{x_1\cdots x_{n-1}}\ge 1\,$ that: $$\,(n-1)\cdot\sqrt[n-1]{x_1\cdot \ldots \cdot x_{n-1}} + 1 \ge n \cdot \sqrt[n]{x_1\cdot \ldots \cdot x_{n-1}} \tag{2}$$
Therefore:
$$x_1+ \ldots +x_{n-1}+1 \;\stackrel{(1)}{\ge}\; (n-1)\sqrt[n-1]{x_1\cdot \ldots \cdot x_{n-1}} + 1 \;\stackrel{(2)}{\ge}\; n \sqrt[n]{x_1 \cdot \ldots \cdot x_{n-1}}$$ | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9802808736209154,
"lm_q1q2_score": 0.874225317773548,
"lm_q2_score": 0.8918110526265555,
"openwebmath_perplexity": 250.2843070682906,
"openwebmath_score": 0.9568802714347839,
"tags": null,
"url": "https://math.stackexchange.com/questions/2576298/x-1-cdot-dots-cdot-x-n-1-implies-x-1-dots-x-n-ge-n"
} |
# What does it mean to divide a complex number by another complex number?
Suppose I have: $w=2+3i$ and $x=1+2i$. What does it really mean to divide $w$ by $x$?
EDIT: I am sorry that I did not tell my question precisely. (What you all told me turned out to be already known facts!) I was trying to ask the geometric intuition behind the division of complex numbers.
• Jul 2, 2013 at 6:23
• suitcaseofdreams.net/Geometric_division.htm Jul 2, 2013 at 6:25
• Perhaps a polar form might be a little more 'intuitive'? Jul 2, 2013 at 6:33
• While multiplication/division of complex numbers can be interpreted geometrically, I don't think it is meant to be interpreted that way. Jul 2, 2013 at 6:40
• @user1551 au contraire it is meant to be interpreted geometrically. Jul 2, 2013 at 16:40
Complex numbers' multiplication is better understood if you forget the "cartesian vector in the complex plane" analogy: $$z = a + b i \quad z \in \mathbb{C}, a, b \in \mathbb{R}$$ And in stead think in polar coordinates: $$z = r \angle \theta = r e^{i \theta} \quad z \in \mathbb{C}, r \in \mathbb{R}^+, \theta \in [0, 2 \pi)$$ Wherein $r$ is the magnitude, $\theta$ is the angle.
When multiplying it is easy: $$z w = (r_z r_w) \angle (\theta _z + \theta _w)$$ You add the angles and multiply the magnitudes.
When dividing you do what comes naturally: $$\frac z w = \left(\! \frac{r_z}{r_w} \!\right) \angle (\theta _z - \theta _w)$$ To divide means to find the difference in angles and the factor in magnitude.
It means to find another complex number $y$, such that $xy=w$. (Just as it does for real numbers.)
When you divide $a$ by $b$, you're asking "What do I multiply $b$ by in order to get $a$?".
Multiplying two complex numbers multiplies their magnitudes and adds their phases: | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9888419674366166,
"lm_q1q2_score": 0.8741751547372433,
"lm_q2_score": 0.8840392939666335,
"openwebmath_perplexity": 266.66544783136675,
"openwebmath_score": 0.7623132467269897,
"tags": null,
"url": "https://math.stackexchange.com/questions/434275/what-does-it-mean-to-divide-a-complex-number-by-another-complex-number"
} |
Multiplying two complex numbers multiplies their magnitudes and adds their phases:
So when you divide a complex $a$ by a complex $b$ you are asking: "How much do I need to scale $b$ and rotate $b$ in order to get $a$? Please give me a complex number with a magnitude equivalent to how much I must scale and a phase equivalent to how much I must rotate.".
Example
Consider $\frac{1 + i}{1 - i}$. How much do we need to scale and rotate $1-i$ in order to make it the same as $1+i$?
Well, when graphed on the complex plane you can see that $1-i$ has a 45 degree clockwise rotation and a magnitude of $\sqrt{2}$. $1+i$, on the other hand, has a 45 degree counter-clockwise rotation and the same magnitude of $\sqrt{2}$.
Since the magnitudes are the same, we don't need any scaling. Our result's magnitude will be 1.
To rotate from 45 degrees clockwise to 45 degrees counter-clockwise, we must rotate 90 degrees counter-clockwise. Thus our result will have a phase of 90 degrees counter-clockwise (which is upwards along the imaginary Y axis).
Move a distance of 1 up the imaginary Y axis and you get the answer... $\frac{1 + i}{1 - i} = i$. We can confirm this by doing the multiplication: $(1-i) \cdot i = i+1$.
• wow for the gif Jul 2, 2013 at 16:39
• @Harsh I'm glad you like it. I made it (and a bunch of others) myself as part of an explanation of Grover's Quantum Search. Jul 3, 2013 at 21:32
• man... I was thinking you were very resourceful, and had taken it from somewhere... Now, to learn that you MADE IT! Salute Jul 3, 2013 at 22:01
Since multiplication can be nicely visualized as a rotation in the complex plane, you may find it helpful to think of division as a form of multiplication: $$\frac{2+3i}{1+2i} = \frac{2+3i}{1+2i}\cdot \frac{1-2i}{1-2i} = -\frac{1}{3}\cdot(2+3i)(1-2i)$$ So, instead of thinking about division, you can think of it as multiplying by the conjugate.
Geometrically, it means that the magnitudes get divided, and the angles get subtracted. | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9888419674366166,
"lm_q1q2_score": 0.8741751547372433,
"lm_q2_score": 0.8840392939666335,
"openwebmath_perplexity": 266.66544783136675,
"openwebmath_score": 0.7623132467269897,
"tags": null,
"url": "https://math.stackexchange.com/questions/434275/what-does-it-mean-to-divide-a-complex-number-by-another-complex-number"
} |
Geometrically, it means that the magnitudes get divided, and the angles get subtracted.
That is, imagine the complex numbers plotted in polar form.
ie: if
$w = r_1 e ^ {i \theta_1 }$
$x = r_2 e ^ {i \theta_2 }$
then
$w/x = (r_1 / r_2)e^{i(\theta_1 - \theta_2)}$
There are multiple ways by which you can describe this relation;
Since you have asked to give geometric representation so phasor form must be better to understand.
Dividing two complex numbers means to take the complex number that is of the magnitude equal to that of the division of amplitudes of the $$X$$ and $$Y$$ complex number and the phase of the new generated complex number is actually the difference of the phase between them.
Eg. $$X = 2+3i \ , \ Y = 9+3i$$
so the $$|Z|= \frac{ |X|}{|Y|} = \dfrac{\sqrt{2^2+3^2}}{\sqrt{9^2+3^2}}$$ and $$\arg(Z)= \tan^{-1}\left(\frac32\right) - \tan^{-1}\left(\frac 39 \right)$$
This $$Z$$ is also a complex number with amplitude and phase in geometric way.. but you to visualize the complex imaginary axis and real axis :D
Since $\frac wx = \frac{w\cdot x^*}{|x|^2}$, complex division is basically equivalent to multiplication of $w$ and the complex conjugate of $x$, but rescaled by the squared absolute value $|x|^2$. | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9888419674366166,
"lm_q1q2_score": 0.8741751547372433,
"lm_q2_score": 0.8840392939666335,
"openwebmath_perplexity": 266.66544783136675,
"openwebmath_score": 0.7623132467269897,
"tags": null,
"url": "https://math.stackexchange.com/questions/434275/what-does-it-mean-to-divide-a-complex-number-by-another-complex-number"
} |
It is currently 21 Mar 2018, 04:05
### GMAT Club Daily Prep
#### Thank you for using the timer - this advanced tool can estimate your performance and suggest more practice questions. We have subscribed you to Daily Prep Questions via email.
Customized
for You
we will pick new questions that match your level based on your Timer History
Track
every week, we’ll send you an estimated GMAT score based on your performance
Practice
Pays
we will pick new questions that match your level based on your Timer History
# Events & Promotions
###### Events & Promotions in June
Open Detailed Calendar
# Rapid Math
Author Message
TAGS:
### Hide Tags
Manager
Status: Enjoying the Journey
Affiliations: ND
Joined: 26 Sep 2017
Posts: 102
Schools: Rotman '21
WE: Marketing (Consulting)
### Show Tags
23 Oct 2017, 01:32
4
KUDOS
1
This post was
BOOKMARKED
Hi Everyone,
Although GMAT doesn't test your ability to perform complicated calculations, it would be beneficial to know some calculation tricks that would save you some time.
Trick 7: Rapidly Square Any Number Ending in 5
Multiply the tens digit by the next whole number then affix the number 25
$$65^2: 6*7=42 ==> 'affix' 25 ==> 4225$$
Trick 8: Rapidly Multiply Any Two-Digit Number by 11
Write the number leaving some space between the two digits, then insert the sum of the number's two digit in between.
24*11 ==> 2 ? 4 ==> 2+4=6 ==> 264
Trick 9: Rapidly Multiply by 25 (or 0.25, 2.5, 250, etc.)
Divide the number by 4 and affix or insert Zeroes or decimal points
Example: 28*25 ==> 28/4 = 7 ==> 700 (add 2 Zeroes)
Trick 10: Rapidly Divide by 25 (or 0.25, 2.5, 250, etc.)
Remove Zeroes or decimal points then multiply the number by 4
Example: 700/25 ==> 7/25 ==> 7*4=28
Trick 24: Rapidly Square Any Two-Digit Number ending in 1
$$21^2 ==> 20^2=400 ==> Add: 20+21=41 ==> Add: 400+41= 441 ==> 21^2 = 441$$
Trick 59: Rapidly Multiply Any Three-Digit Number by 11 (advanced variation of trick 8) | {
"domain": "gmatclub.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9481545362802363,
"lm_q1q2_score": 0.8741243667625996,
"lm_q2_score": 0.9219218316372044,
"openwebmath_perplexity": 12676.80778048119,
"openwebmath_score": 0.4684756398200989,
"tags": null,
"url": "https://gmatclub.com/forum/rapid-math-251963.html"
} |
Trick 59: Rapidly Multiply Any Three-Digit Number by 11 (advanced variation of trick 8)
Write the number leaving some space between the two digits, then insert the summations of the numbers in between (summations of 2 digits everytime; as shown below).
Example:
342*11=??
342*11= 3--2 (write the first & the last number "3"& "2")
342*11=3-62 (the sum of 4+2)
342*11=3762 (the sum of 3+4)
Source: Rapid Math Tricks & Tips. EDWARD H. JULIUS
_________________
"Giving kudos" is a decent way to say "Thanks" and motivate contributors. Please use them, it won't cost you anything
High achievement always takes place in the framework of high expectation Charles Kettering
If we chase perfection we can catch excellence Vince Lombardi
GMAT Club Live: 5 Principles for Fast Math: https://gmatclub.com/forum/gmat-club-live-5-principles-for-fast-math-251028.html#p1940045
The Best SC strategies - Amazing 4 videos by Veritas: https://gmatclub.com/forum/the-best-sc-strategies-amazing-4-videos-by-veritas-250377.html#p1934575
Last edited by NDND on 12 Nov 2017, 04:48, edited 5 times in total.
Intern
Joined: 07 May 2017
Posts: 36
Location: Indonesia
GPA: 3.33
### Show Tags
23 Oct 2017, 01:47
Thanx. It will help
Sent from my Redmi Note 3 using GMAT Club Forum mobile app
_________________
Confidence , Commitment, and Consistence
Manager
Status: Enjoying the Journey
Affiliations: ND
Joined: 26 Sep 2017
Posts: 102
Schools: Rotman '21
WE: Marketing (Consulting)
### Show Tags
01 Nov 2017, 07:43
Updated with Tricks 9 & 10
_________________
"Giving kudos" is a decent way to say "Thanks" and motivate contributors. Please use them, it won't cost you anything
High achievement always takes place in the framework of high expectation Charles Kettering
If we chase perfection we can catch excellence Vince Lombardi | {
"domain": "gmatclub.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9481545362802363,
"lm_q1q2_score": 0.8741243667625996,
"lm_q2_score": 0.9219218316372044,
"openwebmath_perplexity": 12676.80778048119,
"openwebmath_score": 0.4684756398200989,
"tags": null,
"url": "https://gmatclub.com/forum/rapid-math-251963.html"
} |
GMAT Club Live: 5 Principles for Fast Math: https://gmatclub.com/forum/gmat-club-live-5-principles-for-fast-math-251028.html#p1940045
The Best SC strategies - Amazing 4 videos by Veritas: https://gmatclub.com/forum/the-best-sc-strategies-amazing-4-videos-by-veritas-250377.html#p1934575
Re: Rapid Math [#permalink] 01 Nov 2017, 07:43
Display posts from previous: Sort by | {
"domain": "gmatclub.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9481545362802363,
"lm_q1q2_score": 0.8741243667625996,
"lm_q2_score": 0.9219218316372044,
"openwebmath_perplexity": 12676.80778048119,
"openwebmath_score": 0.4684756398200989,
"tags": null,
"url": "https://gmatclub.com/forum/rapid-math-251963.html"
} |
# Find the parametric equation to the curve
Find the parametric equation for the curve.
$$x^{2}+y^{2}=10$$
I haven't learned parametric equations fully yet, so I wanted to check with you guys and see if you can confirm if I'm doing this correctly and possibly go more in depth on the problem if you can?
Because it's centered at (0,0) the origin, and it has a radius of sqrt(10) then the answer is this, right?
$$(x(t),y(t)) = (\sqrt{10}\cos t\,,\, \sqrt{10}\sin t)$$
• Yes, it is...and you should probably remark that $\;0\le t\le 2\pi\;$ – DonAntonio May 4 '14 at 21:15
taking $x=a\sin t,y=a\cos t$ from $x^2+y^2=10$ we get $$a^2\sin^2t+a^2\cos^2t=a^2(\sin^2t+\cos^2t)=a^2=10$$ from above $a=\sqrt{10}$
You are correct. Here's an easy check: note that the position vector at any point is given by $\langle\sqrt{10}\cos(t), \sqrt{10}\sin(t) \rangle$. If we take the magnitude of this vector, we get:
$$\sqrt{10\cos^2{t} + 10\sin^2{t}} = \sqrt{10}$$
And therefore the curve is a constant $\sqrt{10}$ distance from the origin, so it must be at least a part of a circle centered at the origin with radius $\sqrt{10}$. To make the argument that it's a complete circle, you can use a bit of calculus to verify that the curve never turns back on itself. To do this, take a derivative of the position function to yield the velocity function, and note that it is never $0$. | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. Yes\n2. Yes",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.990587409856637,
"lm_q1q2_score": 0.8741219392107562,
"lm_q2_score": 0.8824278710924296,
"openwebmath_perplexity": 118.59235727129308,
"openwebmath_score": 0.9507486820220947,
"tags": null,
"url": "https://math.stackexchange.com/questions/781365/find-the-parametric-equation-to-the-curve"
} |
# Proving an expression is composite
I am trying to prove that $n^4 + 4^n$ is composite if $n$ is an integer greater than 1. This is trivial for even $n$ since the expression will be even if $n$ is even.
This problem is given in a section where induction is introduced, but I am not quite sure how induction could be used to solve this problem. I have tried examining expansions of the expression at $n+2$ and $n$, but have found no success.
I would appreciate any hints on how to go about proving that the expression is not prime for odd integers greater than 1.
• Write it as a difference of squares. – Adam Hughes Jul 1 '14 at 19:54
• How? It's $n^4 + 4^n$ not $n^4 - 4^n$ – Mathmo123 Jul 1 '14 at 19:55
• @Mathmo123: see my answer below. – Adam Hughes Jul 1 '14 at 20:03
$(n^2)^2+(2^n)^2=(n^2+2^n)^2-2^{n+1}n^2$. Since $n$ is odd...
• Ah. Very neat!! – Mathmo123 Jul 1 '14 at 20:05
• Originally, I was not sure how I should go about writing it as a difference of squares. Thanks for your help. – pidude Jul 1 '14 at 20:12
Hint: calculate this value explicitly for $n=1,3$ (or predict what will happen). Can you see any common factors? Can you prove that there is a number $m$ such that if $n$ is odd, then $m|(n^4 + 4^n)$?
Let me know if you need further hints.
• I originally tried doing that but to no avail. Evaluated at 3 I obtain 145 which has factors of 5 and 29. At 5, the expression equals 1649, which has factors of 17 and 97. I will keep looking for a pattern and let you know if I need more hints. Thanks for your help. – pidude Jul 1 '14 at 19:59
• Ah... using this method, there will be a difference between multiples of 5 and other odd numbers. You will find that for odd numbers that are not a multiple of 5, 5 will be a divisor – Mathmo123 Jul 1 '14 at 20:01
• Ok, so I was able to prove that. Now I'm working numbers which are multiples of 5. – pidude Jul 1 '14 at 20:09 | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9869795102691454,
"lm_q1q2_score": 0.8741001063907176,
"lm_q2_score": 0.8856314617436728,
"openwebmath_perplexity": 272.7748211115131,
"openwebmath_score": 0.8389080762863159,
"tags": null,
"url": "https://math.stackexchange.com/questions/853615/proving-an-expression-is-composite"
} |
I am very impressive with Adam's solution. There is very neat. So, I beg for a chance to write the full description about the proof step-by-step.
• We can transform $n^4+4^n$ to $(n^2+2^n)^2-2^{n+1}n^2$ as Adam's suggestion by
1. $n^{(2^2)}+(2^2)^n = (n^2)^2+(2^n)^2$ associative law
2. Now, we mention $(a+b)^2 = (a+b)(a+b) = a^2+2ab+b^2$ algebraic multiplication
3. $(n^2)^2+(2^n)^2+2(n^2)(2^n)-2(n^2)(2^n)$ adding $+2ab-2ab$ to expression
4. $(n^2)^2+2(n^2)(2^n)+(2^n)^2-2(n^2)(2^n)$ re-arrange the expression
5. $(n^2+2^n)^2-2(n^2)(2^n)$ from step 2
6. $(n^2+2^n)^2-2^{n+1}n^2$ law of Exponential
• We try to get the $(n^2+2^n)^2-2^{n+1}n^2$ to conform to $a^2-b^2$ because $a^2-b^2=(a+b)(a-b)$ algebraic multiplication, again
1. Treat $n^2+2^n$ as $a$
2. Since $n$ is odd, n+1 is even. So, we can assume $2m=n+1$, where $m$ is integer
3. So, re-write the $2^{n+1}n^2$ to be $2^{2m}n^2$
4. $2^{2m}n^2=(n2^m)^2$ associative law
5. Treat $n2^m$ as $b$
• It implies that both $a$ and $b$ are both positive integer
• From $a^2-b^2=(a+b)(a-b)$ and the result of $n^4 + 2^4$, it implies that $a$ is greater than $b$
• Hence both $(a+b)$ and $(a-b)$ are positive integer, that causes the result of $n^4 + 2^4$ is combination of $(a+b)$ and $(a-b)$
Some interesting factorizations of a polynomial of type $x^4+\text{const}$: $$x^4+4=(x^2+2x+2)(x^2-2x-2) \tag{1}$$
$$x^4+1=(x^2+\sqrt[]{2}x+1)(x^2-\sqrt[]{2}x+1) \tag{2}$$
So one can ask, how to select the coefficients $a,b,c,d$ in
$$(x^2+ax+b)(x^2+cx+d) \tag{3}$$
such that all coefficients of the resulting polynomial are zero except the constant term and the coefficient of the 4th power. The latter is $1$.
If we expand $(3)$ we get
$$x^4+(c+a)x^3+(d+a c+b)x^2+(a d+b c)x+b d$$
And the coefficients disappear, if
$$\begin{eqnarray} c+a &=& 0 \\ d+ ac +b &=& 0 \\ ad+bc &=& 0 \end{eqnarray}$$
When solving for $b,c,d$ we get
$$\begin{eqnarray} c &=& -a \\ b &=& \frac{a^2}{2} \\ d &=& \frac{a^2}{2} \end{eqnarray}$$
and therefore | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9869795102691454,
"lm_q1q2_score": 0.8741001063907176,
"lm_q2_score": 0.8856314617436728,
"openwebmath_perplexity": 272.7748211115131,
"openwebmath_score": 0.8389080762863159,
"tags": null,
"url": "https://math.stackexchange.com/questions/853615/proving-an-expression-is-composite"
} |
and therefore
$$x^4+\frac{a^4}{4} = (x^2+a x+\frac{a^2}{2})(x^2-ax+\frac{a^2}{2})$$
For $a=2$ this gives $(1)$, $a=\sqrt[]{2}$ this gives $82)$ . Substituting $a=2^{t+1}$ we get
$$x^4+4^{2t+1} = (x^2+2\cdot 2^t x+2^{2t+1})(x^2-2\cdot 2^tx+2^{2t+1})$$
Substituting $x=n=2t+1$ gives the required result for odd $n$. | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9869795102691454,
"lm_q1q2_score": 0.8741001063907176,
"lm_q2_score": 0.8856314617436728,
"openwebmath_perplexity": 272.7748211115131,
"openwebmath_score": 0.8389080762863159,
"tags": null,
"url": "https://math.stackexchange.com/questions/853615/proving-an-expression-is-composite"
} |
Write a function that computes Kendall rank coefficient Tau (see lecture notes for additional details on Kendall Tau).
Kendall Coefficient {as quoted from Wikipedia):
Let (x1, y1), (x2, y2), ., (xn, yn) be a set of observations of the joint random variables X and Y respectively, such that all the values of xi and yi are unique. Any pair of observations (xi and yi) are said to be concordant if the ranks for both elements (more precisely, the sort order by x and by y) agree: that is, if both xi > xj and yi > yi or if both xi < xj and yi < yj. They are said to be discordant, if xi > xj and yi < yj or if xi < xj and yi > yj. If xi = xj or yi = yj, the pair is neither concordant nor discordant.
Equation 1
TAU=(number of concordant pairs-number of discordant pairs)/(0.5 x n x (n - 1))
The above equations ignore ties (sets of pairs where either xi = xj or yi = yj). One way of correcting for ties is to consider how many ties (or non-ties) are present in the data. This variant known as Kendall’s tau_b is computed by modifying the denominator 0.5n(n-1) in Equation 1 to consider ties:
sqrt(mx) x sqrt(my)
Where mx is number of non-ties for x and my is number of non-ties for y.
Note: The R function {cor} returns tau_b.
YOUR TASKS: 1. Write a custom function that computes Kendall ignoring ties (Equation 1) and correcting for ties (as explained above).
1. Your function should return a single value (Kendall’s coefficient)
2. Your function should allow the user to choose to ignore ties or not and thus produce either tau or tau_b.
3. Apply the function to two vectors provided below and check the results provided by your function against those obtained using the R function {cor}.
4. Check how fast is your function relative to {cor} function using microbenchmark function from package ‘microbenchmark’. | {
"domain": "uni-erlangen.de",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9752018362008347,
"lm_q1q2_score": 0.8740259766700917,
"lm_q2_score": 0.8962513648201267,
"openwebmath_perplexity": 8041.880659191196,
"openwebmath_score": 0.4371679127216339,
"tags": null,
"url": "https://www.cnidaria.nat.uni-erlangen.de/shortcourse/S4/Assignment_Kendall_Tau_KEY.html"
} |
5. Finally, generate large vectors x and y (n = 1000) from normal distribution using rnorm function. Check again how fast is your function relative to {cor} function using microbenchmark function from package ‘microbenchmark’.
To carry out this exercise, please start by uploading the library ‘microbenchmark’ and please use x and y variables as defined below. This will ensure that all results are the same for all of us. It will also help you to evaluate if your outcomes agree with those provided in solution functions or alternative R functions.
library(microbenchmark)
x <- c(-30, 0, 14, 5, 6, 7)
y <- c(-5, 0, 12, 16, 16, 8)
Once your function is ready, you can continue to the next step. The function solutions included in this tutorial are hidden here, but can be reviewed in the .rmd file or in the answer key file (.html). Please try to solve this on your own before checking the solution.
my.kend <- function(x, y, ties=T) {
n <- length(x)
nzero <- 0.5*n*(n-1)
s1 <- sign(x - t(matrix(x, n, n, byrow=F)))
s2 <- sign(y - t(matrix(y, n, n, byrow=F)))
t1 <- sum(s1[lower.tri(s1)]!=0)
t2 <- sum(s2[lower.tri(s2)]!=0)
n2 <- t1^0.5*t2^0.5
if (!ties) tau <- sum(s1[lower.tri(s1)]*s2[lower.tri(s2)])/nzero
if (ties) tau <- sum(s1[lower.tri(s1)]*s2[lower.tri(s2)])/n2
return(tau)
}
my.kend2 <- function(x, y, ties=T) {
n <- length(x)
nzero <- 0.5*n*(n-1)
k <- 0
s1 <- 0
s2 <- 0
out <- vector(mode='numeric', length=nzero)
for (i in 1:length(x)) {
for (j in 1:length(x)) {
if (j > i) {
k <- k + 1
out[k] <- sign(x[i] - x[j])*sign(y[i] - y[j])
if(x[i] - x[j]==0) s1 = s1 + 1
if(y[i] - y[j]==0) s2 = s2 + 1
}
}
}
if (!ties) tau <- sum(out)/nzero
if (ties) tau <- sum(out)/((nzero-s1)^0.5*sum(nzero-s2)^0.5)
tau
}
Now check if your function yields comparable results to those provided by standard R functions or custom functions developed by your instructor.
x <- c(-30, 0, 14, 5, 6, 7)
y <- c(-5, 0, 12, 16, 16, 8) | {
"domain": "uni-erlangen.de",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9752018362008347,
"lm_q1q2_score": 0.8740259766700917,
"lm_q2_score": 0.8962513648201267,
"openwebmath_perplexity": 8041.880659191196,
"openwebmath_score": 0.4371679127216339,
"tags": null,
"url": "https://www.cnidaria.nat.uni-erlangen.de/shortcourse/S4/Assignment_Kendall_Tau_KEY.html"
} |
x <- c(-30, 0, 14, 5, 6, 7)
y <- c(-5, 0, 12, 16, 16, 8)
# compute kendall tau using generic function {cor}
cor(x, y, method='kendall')
## [1] 0.4140393
# check if your function is consistent with standard cor function
my.kend(x, y, ties=T)
## [1] 0.4140393
# if you developed a second solution check if that solution works as well.
my.kend2(x, y, ties=T) # check if your function works as well
## [1] 0.4140393
# now check if your function(s) also compute(s) uncorrected tau correctly
my.kend(x, y, ties=F)
## [1] 0.4
my.kend2(x, y, ties=F)
## [1] 0.4
Once you established that your function works, you should investigate if your function is faster or slower than cor function. Keep in mind, however, that the performance of the function may depend on sample size, so your function may work better than ‘cor’ function for small sample sizes, but perform poorly for large sample sizes (or vice versa).
microbenchmark(cor(x, y, method='kendall'), my.kend(x, y, ties=T),
my.kend2(x, y, ties=T)) # which is faster for a much larger dataset?
## Unit: microseconds
## expr min lq mean median uq
## cor(x, y, method = "kendall") 65.700 80.0480 95.31707 95.1510 109.6875
## my.kend(x, y, ties = T) 23.033 26.2425 36.04066 35.6815 42.2900
## my.kend2(x, y, ties = T) 10.195 10.9500 15.45499 12.0830 24.5435
## max neval
## 215.976 100
## 70.986 100
## 40.780 100
You can see that my custom functions my.kend and my.kend2 are much faster than cor function when analyzed data are tiny.
Let’s now check how the functions perform for much larger datasets. | {
"domain": "uni-erlangen.de",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9752018362008347,
"lm_q1q2_score": 0.8740259766700917,
"lm_q2_score": 0.8962513648201267,
"openwebmath_perplexity": 8041.880659191196,
"openwebmath_score": 0.4371679127216339,
"tags": null,
"url": "https://www.cnidaria.nat.uni-erlangen.de/shortcourse/S4/Assignment_Kendall_Tau_KEY.html"
} |
Let’s now check how the functions perform for much larger datasets.
x <- rnorm(500,1,1)
y <- rnorm(500,1,3) + x
cor(x, y, method='kendall')
## [1] 0.19301
my.kend(x, y, ties=T) # check if your function agrees
## [1] 0.19301
my.kend2(x, y, ties=T) # check if your function agrees
## [1] 0.19301
microbenchmark(cor(x, y, method='kendall'), my.kend(x, y, ties=T),
my.kend2(x, y, ties=T)) # which is faster for a much larger dataset?
## Unit: milliseconds
## expr min lq mean median
## cor(x, y, method = "kendall") 3.233603 3.529627 4.097588 3.924766
## my.kend(x, y, ties = T) 13.880630 18.497122 21.550797 20.513782
## my.kend2(x, y, ties = T) 50.971912 58.680038 64.747797 62.303116
## uq max neval
## 4.657272 5.69241 100
## 23.238596 52.78090 100
## 69.767135 94.52662 100
As clear from the report, the custom-written solutions that I wrote (you may come up with better algorithms) perform well at small sample size, but underperform at larger sample sizes. That is, compiled, professionally written R functions are faster for large samples than custom written solutions written by amatuers. This means that when we iterate small datasets, custom functions can be faster. When huge datasets are processed, R functions are likley to be superior to custom solutions.
Let us evaluate this issue here by using ‘cor’ and our custom function to carry out the same analysis.
r1 <- as.data.frame(matrix(rnorm(20000), 10, 2000))
# NOTE r1 is a dataframe of many (s=2000) tiny samples (n=10 observations). Each column is a sample.
r2 <- as.data.frame(matrix(rnorm(20000), 2000, 10))
# NOTE r2 is a dataframe of s=10 huge samples (n=2000 observations). Each column is a sample. | {
"domain": "uni-erlangen.de",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9752018362008347,
"lm_q1q2_score": 0.8740259766700917,
"lm_q2_score": 0.8962513648201267,
"openwebmath_perplexity": 8041.880659191196,
"openwebmath_score": 0.4371679127216339,
"tags": null,
"url": "https://www.cnidaria.nat.uni-erlangen.de/shortcourse/S4/Assignment_Kendall_Tau_KEY.html"
} |
system.time(sapply(r1, function(x) cor(x, r1[,1], method='kendall')))
## user system elapsed
## 0.16 0.03 0.19
system.time(sapply(r1, function(x) my.kend(x, r1[,1])))
## user system elapsed
## 0.09 0.00 0.09
system.time(sapply(r1, function(x) my.kend2(x, r1[,1])))
## user system elapsed
## 0.09 0.00 0.09
system.time(sapply(r2, function(x) cor(x, r2[,1], method='kendall')))
## user system elapsed
## 0.59 0.00 0.60
system.time(sapply(r2, function(x) my.kend(x, r2[,1])))
## user system elapsed
## 3.92 1.01 4.93
system.time(sapply(r2, function(x) my.kend2(x, r2[,1])))
## user system elapsed
## 9.39 0.03 9.42
Clearly, my functions worked faster when we processed many, many short vectors (data frame r1), but underperformed badly when a few very large vectors were evaluated (data frame r2).
Always cite packages.
citation('microbenchmark')
##
## To cite package 'microbenchmark' in publications use:
##
## Olaf Mersmann (2018). microbenchmark: Accurate Timing Functions.
## R package version 1.4-4.
## https://CRAN.R-project.org/package=microbenchmark
##
## A BibTeX entry for LaTeX users is
##
## @Manual{,
## title = {microbenchmark: Accurate Timing Functions},
## author = {Olaf Mersmann},
## year = {2018},
## note = {R package version 1.4-4},
## url = {https://CRAN.R-project.org/package=microbenchmark},
## } | {
"domain": "uni-erlangen.de",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9752018362008347,
"lm_q1q2_score": 0.8740259766700917,
"lm_q2_score": 0.8962513648201267,
"openwebmath_perplexity": 8041.880659191196,
"openwebmath_score": 0.4371679127216339,
"tags": null,
"url": "https://www.cnidaria.nat.uni-erlangen.de/shortcourse/S4/Assignment_Kendall_Tau_KEY.html"
} |
# Thread: Conditional Probability Brain Teaser
1. ## Conditional Probability Brain Teaser
A sock contains 2 red marbles and an unknown number of blue marbles. Tom places a new marble in the sock. Jason puts his hand in the sock and pulls out a red marble.
What is the probability that the marble Tom put in the sock was red?
I've been trying to approach this with Bayes' Theorem but not making any progress:
P(A l B) = P(B l A) * P(A) / P(B)
I'm confused as to what A and B would represent in the problem.
Appreciate the help, thanks!
2. Originally Posted by Penguins
A sock contains 2 red marbles and an unknown number of blue marbles. Tom places a new marble in the sock. Jason puts his hand in the sock and pulls out a red marble.
What is the probability that the marble Tom put in the sock was red?
I've been trying to approach this with Bayes' Theorem but not making any progress:
P(A l B) = P(B l A) * P(A) / P(B)
I'm confused as to what A and B would represent in the problem.
Appreciate the help, thanks!
Let the number of blue marbles in the sock be x.
Draw a tree diagram. The first two branches are the events Tom putting in a blue marble or a red marble. The next branches are the events of pulling out a red marble or a blue marble.
I get $\frac{\frac{3}{2(3 + x)}}{\frac{3}{2(3 + x)} + \frac{1}{3 + x}} = \frac{3}{5}$.
3. I don't understand how you set up the problem like you did. What do the terms in your numerator and denominator represent?
Here is what I get:
P(A l B) = (P(B l A) * P(A)) / P(B)
A is Tom putting a red marble in the sock.
B is Jason taking a red marble out of the sock.
P (B l A) = 3 / (x+3)
P (A) = unknown, let it be p
P (B) = p*(3/(x+3)) + (1-p)*(2/(x+2))
So
P(A l B) = (P(B l A) * P(A)) / P(B) = (3p/(x+3)) / (p*(3/(x+3)) + (1-p)*(2/(x+2)))
I end up with 3/2 p. I know I did something wrong, but I'm not sure what.
4. Hello, Penguins!
I agree with Mr. F | {
"domain": "mathhelpforum.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9783846684978779,
"lm_q1q2_score": 0.8740002375297514,
"lm_q2_score": 0.893309416705815,
"openwebmath_perplexity": 959.7684649458447,
"openwebmath_score": 0.8937616348266602,
"tags": null,
"url": "http://mathhelpforum.com/advanced-statistics/103904-conditional-probability-brain-teaser.html"
} |
4. Hello, Penguins!
I agree with Mr. F
A sock contains 2 red marbles and an unknown number of blue marbles.
Tom places a new marble in the sock.
Jason puts his hand in the sock and pulls out a red marble.
What is the probability that the marble Tom put in the sock was red?
We want: . $P(\text{add Red }|\text{ draw Red}) \;=\;\frac{P(\text{add Red }\wedge\text{ draw Red})}{P(\text{draw Red})}$ .[1]
The sock contains: 2 Red and $b$ Blue marbles.
There are two cases to consider:
[1] A Red marble is added.
. . .The sock contains: 3 Red and $b$ Blue.
. . . . Then: . $P(\text{add Red }\wedge\text{ draw Red}) \:=\:\frac{3}{b+3}$ .[2]
[2] A Blue marble is added.
. . .The sock contains: 2 Red and $b+1$ Blue.
. . . . Then: . $P(\text{add Blue }\wedge\text{ draw Red}) \:=\:\frac{2}{b+3}$
Hence: . $P(\text{draw Red}) \;=\;\frac{3}{b+3} + \frac{2}{b+3} \;=\;\frac{5}{b+3}$ .[3]
Substitute [2] and [3] into [1]: . $P(\text{add Red }|\text{ draw Red}) \;\;=\;\; \frac{\dfrac{3}{b+3}} {\dfrac{5}{b+3}} \;\;=\;\;\frac{3}{5}$
5. Originally Posted by Soroban
Hello, Penguins!
I agree with Mr. F
We want: . $P(\text{add Red }|\text{ draw Red}) \;=\;\frac{P(\text{add Red }\wedge\text{ draw Red})}{P(\text{draw Red})}$ .[1]
The sock contains: 2 Red and $b$ Blue marbles.
There are two cases to consider:
[1] A Red marble is added.
. . .The sock contains: 3 Red and $b$ Blue.
. . . . Then: . $P(\text{add Red }\wedge\text{ draw Red}) \:=\:\frac{3}{b+3}$ .[2]
[2] A Blue marble is added.
. . .The sock contains: 2 Red and $b+1$ Blue.
. . . . Then: . $P(\text{add Blue }\wedge\text{ draw Red}) \:=\:\frac{2}{b+3}$
Hence: . $P(\text{draw Red}) \;=\;\frac{3}{b+3} + \frac{2}{b+3} \;=\;\frac{5}{b+3}$ .[3]
Substitute [2] and [3] into [1]: . $P(\text{add Red }|\text{ draw Red}) \;\;=\;\; \frac{\dfrac{3}{b+3}} {\dfrac{5}{b+3}} \;\;=\;\;\frac{3}{5}$ | {
"domain": "mathhelpforum.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9783846684978779,
"lm_q1q2_score": 0.8740002375297514,
"lm_q2_score": 0.893309416705815,
"openwebmath_perplexity": 959.7684649458447,
"openwebmath_score": 0.8937616348266602,
"tags": null,
"url": "http://mathhelpforum.com/advanced-statistics/103904-conditional-probability-brain-teaser.html"
} |
I see what you're doing, but isn't it a problem that you're assuming the probability of Tom putting a red marble in the sock to be 1/2? I set up the problem using p as this probability and unfortunately made a careless mistake in my previous post, but get the answer to the question as (3p)/(2+p). When p = 1/2, the answer is 3/5.
I'm curious as to whether there is a rule in a situation like this as to whether lacking more information it is assumed that all possibilities have equal likelihood?
Thanks for the replies!
6. Originally Posted by Penguins
I see what you're doing, but isn't it a problem that you're assuming the probability of Tom putting a red marble in the sock to be 1/2? I set up the problem using p as this probability and unfortunately made a careless mistake in my previous post, but get the answer to the question as (3p)/(2+p). When p = 1/2, the answer is 3/5.
I'm curious as to whether there is a rule in a situation like this as to whether lacking more information it is assumed that all possibilities have equal likelihood?
Thanks for the replies!
If you're expected to get a numerical answer then you have to make an assumption regarding a priori knowledge. The best one (for various reasons which I won't get into here) is a uniform prior distribution. | {
"domain": "mathhelpforum.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9783846684978779,
"lm_q1q2_score": 0.8740002375297514,
"lm_q2_score": 0.893309416705815,
"openwebmath_perplexity": 959.7684649458447,
"openwebmath_score": 0.8937616348266602,
"tags": null,
"url": "http://mathhelpforum.com/advanced-statistics/103904-conditional-probability-brain-teaser.html"
} |
# 1 Biased Coin and 1 Fair Coin, probability of 2 Heads?
You have 1 fair coin and 1 coin with 2 heads. Given that the first flip was a heads what is the probability of getting another heads?
My Answer: P(2H|F=H) = P(2H|F=H, Biased Coin)*P(Biased Coin) + P(2H|F=H, Unbiased Coin)*P(Unbiased Coin) = 0.5 + 0.25 = 0.75. In my equation, F refers to the First Throw. But the answer is supposed to be 5/6 and I can't seem to understand how.
Edit: From Arthurs comment I get the following, however, I dont know if this is the correct method, despite getting the correct answer:
P(Biased|F=H) = 2/3.
P(2H|F=H) = P(2H|(Biased|F=H))*P(Biased|F=H) + P(2H|(Unbiased|F=H))*P(Unbiased|F=H) = (1*2/3) + (1/2 * 2/3) = 5/6.
Thank You
• Is it random (and unknown) which coin was flipped first? – Arthur Oct 15 '15 at 12:41
• @Arthur Yes. There is no information about that. – Jojo Oct 15 '15 at 12:42
• I think this is the biggest thing you've missed: Given that the first toss was a head, what is the proability that the first coin was the biased one? – Arthur Oct 15 '15 at 12:46
• @Arthur Could you please check the edit to my question. – Jojo Oct 15 '15 at 13:08
• @Jojo, yes, although that should be $P(2H\mid\text{ Biased} \cap F=H)$ and so forth. – Graham Kemp Oct 15 '15 at 13:11
The first flip was a head.
The $3$ heads have equal probabilities to be the head that appeared at the first flip.
$2$ of the $3$ heads have another head as other side.
$1$ of the $3$ heads has tail as other side.
So there is a chance of $\frac23.1+\frac13.\frac12=\frac56$ of throwing a second head with that coin. | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9783846703886662,
"lm_q1q2_score": 0.8740002308818255,
"lm_q2_score": 0.8933094081846421,
"openwebmath_perplexity": 676.3390055852828,
"openwebmath_score": 0.802986204624176,
"tags": null,
"url": "https://math.stackexchange.com/questions/1481433/1-biased-coin-and-1-fair-coin-probability-of-2-heads"
} |
• Very intuitive answer. Thanks. – Jojo Oct 15 '15 at 13:22
• Glad to help, and indeed cherish your intuition in maths. – drhab Oct 15 '15 at 13:24
• Does this assume that the same coin is flipped twice, or that one coin is flipped and then the other? I'm getting a different answer when I assume that latter, but the question is ambiguous. – Bill the Lizard Oct 15 '15 at 14:56
• It assumes that the same coin was flipped twice. – drhab Oct 15 '15 at 15:00
You missed a conditioning in your formula. Let the event of choosing biased coin be B and fair be F. Getting heads on second toss be 2H and on first toss 1H. You want to calculate the probability of getting heads on second throw given that you it landed heads on first throw, which is
P(2H/1H) = P(2H/1H,F)P(F/1H) + P(2H/1H,B)P(B/1H)
To evaluate P(F/1H) and P(B/1H) use bayes rue.
P(F/1H) = P(1H/F)*P(F)/P(1H) = 0.5*0.5/(0.5*0.5 + 1*0.5) = 1/3
P(B/1H) = 2/3
P(1H) = P(1H/F)P(F) + P(1H/B)P(B)
P(2H/1H,F) = 0.5 and P(2H/1H,B) = 1 Therefore, P(2H/1H) = 0.5*(1/3) + 1*(2/3) = 5/6 | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9783846703886662,
"lm_q1q2_score": 0.8740002308818255,
"lm_q2_score": 0.8933094081846421,
"openwebmath_perplexity": 676.3390055852828,
"openwebmath_score": 0.802986204624176,
"tags": null,
"url": "https://math.stackexchange.com/questions/1481433/1-biased-coin-and-1-fair-coin-probability-of-2-heads"
} |
$f$ has a zero integral on every measurable set. Prove $f$ is zero almost everywhere
I am trying to solve the following exercise:
Let $f$ be integrable. Assume that $\int_A f d\mu = 0$ for every measurable set $A$. Prove that $f = 0$ a.e. [$\mu$].
I have the following proof but it seems to me too simple to be true. What is wrong with it?
For any $a>0$, define $W_a:=\{w|f(w)\geq a\}$. Now we have: $$\int_{W_a} fd\mu = 0 \geq \int_{W_a} ad\mu=a\mu(W_a)$$ and therefore $\mu(W_a)=0$. Same holds for the negative $a$'s. This completes my proof.
• You might want to add why it suffices to show $\mu(W_a) = 0$ for $a>0$ and $\mu(f \leq a)=0$ for $a<0$. – saz Feb 7 '16 at 19:58
Indeed, your proof shows that $\{f > 0\}$ has measure zero. Similarly, you show $\{f < 0\}$ has measure zero, and hence $f=0$ a.s. Yes it really is this easy.
It remains to show that the set $\{w\mid f(w)\ne0\}$ has measure $0$. Consider the nonzero rational $a$'s to complete the proof. | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9783846647163009,
"lm_q1q2_score": 0.8740002306778896,
"lm_q2_score": 0.8933094131553264,
"openwebmath_perplexity": 92.84510566242575,
"openwebmath_score": 0.9828101396560669,
"tags": null,
"url": "https://math.stackexchange.com/questions/1644943/f-has-a-zero-integral-on-every-measurable-set-prove-f-is-zero-almost-everyw"
} |
# Surprising Summation (1) $\sum_{i=1}^n(n-i+1)(2i-1)=\sum_{i=1}^n i^2$
Show that
$$\sum_{i=1}^n(n-i+1)(2i-1)=\sum_{i=1}^n i^2$$
without expanding the summation to its closed-form solution, i.e. $\dfrac 16n(n+1)(2n+1)$ or equivalent.
E.g., if $n=5$, then
$$5(1) + 4(3)+ 3(5)+2(7)+1(9)=1^2+2^2+3^2+4^2+5^2$$
Background as requested:
The summands for both equations are not the same but the results are the same. The challenge here is to transform LHS into RHS without solving the summation. It seems like an interesting challenge.
Further edit
Thanks to those who voted to reopen the question!
• Hmm I don't see what is so slow about expanding and collecting the terms by powers of $r$. Summation by parts works too, but would take about the same amount of computation. – user21820 Aug 15 '15 at 3:03
• I think this is a duplicate. Looks a lot like this: math.stackexchange.com/questions/1408182/… – marty cohen Apr 4 '16 at 3:21
• @martycohen - It is a duplicate only if the question asks to show that it is equivalent to the sum of squares without expanding to the closed-form solution. – hypergeometric Apr 4 '16 at 3:25
• @martycohen - The summations may be related but it is definitely not a duplicate - the summands are different and the other question is a double summation. In any case this question was posted first so it cannot be a duplicate! – hypergeometric Apr 4 '16 at 3:50
Drawing pictures for this kind of problem helps. If you draw
There are
• $n$ sets of $1$ black squares,
• $n-1$ sets of $3$ blue squares,
• $n-2$ sets of $5$ purple squares,
• $n-3$ setes of $7$ red squares,
• $\vdots$
• $n - r + 1$ sets of $2r-1$ squares of any given color
but the shapes together form a sum of squares pyramid. Algebraically that is:
\begin{align} % \sum_{r=1}^{n} (n - r + 1)(2r - 1) % &= \sum_{r=1}^{n} \left(\sum_{s=r}^n 1\right)(2r - 1) % \\ &= \sum_{r=1}^{n} \sum_{s=r}^n (2r - 1) % \\ &= \sum_{s=1}^{n} \sum_{r=1}^s (2r - 1) % \\ &= \sum_{s=1}^{n} s^2 % \end{align} | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9783846666070896,
"lm_q1q2_score": 0.8740002288932051,
"lm_q2_score": 0.8933094096048376,
"openwebmath_perplexity": 1618.577926622735,
"openwebmath_score": 0.9999687671661377,
"tags": null,
"url": "https://math.stackexchange.com/questions/1397679/surprising-summation-1-sum-i-1nn-i12i-1-sum-i-1n-i2"
} |
where the last step uses the fact that the sum of odd numbers up to $2k-1$ is $k^2$.
• Yes very nice solution! (+1) That was how I started, hoping to find a shorter solution to the sum of squares by recognising the each square is the sum of odd numbers. – hypergeometric Aug 15 '15 at 6:39
• @hypergeometric I felt like the logic was backwards when I was writing it. Anyway, if you want a short solution to sum of squares, I suggest looking at $\sum (k^3 - (k - 1)^3) = \sum (3k^2 - 3k + 1)$ , use telescoping on the left and the known closed form for $\sum k$ on the right. – DanielV Aug 15 '15 at 7:32
$$(n-r+1)(2r-1)=(n+1)(-1)+r[2(n+1)+1]-2r^2$$
$$\implies\sum_{r=1}^n(n-r+1)(2r-1)=-(n+1)\sum_{r=1}^n1+\{2(n+1)+1\}\sum_{r=1}^nr-2\sum_{r=1}^nr^2$$
$$=-(n+1)\cdot n+(2n+3)\cdot\dfrac{n(n+1)}2-2\cdot\dfrac{n(n+1)(2n+1)}6$$
$\begin{array}\\ \sum_{r=1}^n(n-r+1)(2r-1) &=\sum_{r=1}^n(n+1)(2r-1)-\sum_{r=1}^nr(2r-1)\\ &=(n+1)n^2-2\sum_{r=1}^nr^2+\sum_{r=1}^nr\\ &=(n+1)n^2-2\frac{n(n+1)(2n+1)}{6}+\frac{n(n+1)}{2}\\ &=\frac{6(n+1)n^2-2n(n+1)(2n+1)+3n(n+1)}{6}\\ &=n(n+1)\frac{6n-2(2n+1)+3}{6}\\ &=n(n+1)\frac{2n+1}{6}\\ &=\frac{n(n+1)(2n+1)}{6}\\ \end{array}$
Now that's quite a surprise!
I'll stop here a try to find a magic trick later.
• Well spotted! (+1) – hypergeometric Aug 15 '15 at 6:38
Make the substitution $i = n - r + 1$ (like change of variable in integration), then \begin{align} & \sum_{r = 1}^n (n - r + 1)(2r - 1) = \sum_{i = 1}^n i(2n - 2i + 1) \\ = & (2n + 1) \sum_{i = 1}^n i - 2\sum_{i = 1}^n i^2 \end{align} I think I didn't expand the term "brutally", but the last step is still slight expansion.
Here's the "magic" solution in more general form, followed by an continuous analog.
Let $f(n) =\sum_{i=1}^n (n+1-i)g(i)$. Note that $f(1) = g(1)$ and $f(2) =2g(1)+g(2) =g(1)+(g(1)+g(2))$. Then | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9783846666070896,
"lm_q1q2_score": 0.8740002288932051,
"lm_q2_score": 0.8933094096048376,
"openwebmath_perplexity": 1618.577926622735,
"openwebmath_score": 0.9999687671661377,
"tags": null,
"url": "https://math.stackexchange.com/questions/1397679/surprising-summation-1-sum-i-1nn-i12i-1-sum-i-1n-i2"
} |
$\begin{array}\\ f(n+1) &=\sum_{i=1}^{n+1} (n+2-i)g(i)\\ &=\sum_{i=1}^{n+1} (n+1+1-i)g(i)\\ &=\sum_{i=1}^{n+1} (n+1-i)g(i)+\sum_{i=1}^{n+1} g(i)\\ &=\sum_{i=1}^{n} (n+1-i)g(i)+\sum_{i=1}^{n+1} g(i) \quad\text{(since }n+1-i = 0 \text{ for } i=n+1)\\ &=f(n)+\sum_{i=1}^{n+1} g(i)\\ so\\ f(n+1)-f(n)&=\sum_{i=1}^{n+1} g(i)\\ so\ that\\ f(n)&=\sum_{j=1}^n\sum_{i=1}^{j} g(i)\\ \end{array}$
Setting $g(n) = 2n-1$, since $\sum_{i=1}^{n} g(i) =n^2$, $f(n) =\sum_{i=1}^{n} i^2 =\dfrac{n(n+1)(2n+1)}{6}$.
The continuous analog:
Let $f(x) =\int_0^x (x-y)g(y)dy$. Then
$\begin{array}\\ f(x) &=\int_0^x (x-y)g(y)dy\\ &=\int_0^x xg(y)dy-\int_0^x yg(y)dy\\ &=x\int_0^x g(y)dy-\int_0^x yg(y)dy\\ \text{so that}\\ f'(x)&=xg(x)+\int_0^x g(y)dy- xg(x)\\ &=\int_0^x g(y)dy\\ \text{Integrating,}\\ f(x)&=\int_0^x \int_0^y g(z)dz dy\\ \end{array}$
If $g(y) = 2y$, then $\int_0^x g(y)dy =x^2$ so $\int_0^x (x-y)g(y) dy =\int_0^x y^2 dy =\dfrac{x^3}{3}$
\begin{align} \sum_{i=1}^n(n-i+1)(2i-1) &=\sum_{i=1}^n\sum_{j=i}^n(2i-1)\\ &=\sum_{j=1}^n\sum_{i=1}^j(2i-1) &&(1\le i\le j \le n)\\ &=\sum_{j=1}^n\sum_{i=1}^ji^2-(i-1)^2\\ &=\sum_{j=1}^n j^2&&\text{(by telescoping)}\\ &=\sum_{i=1}^n i^2\qquad\blacksquare \end{align}
Posting another solution which has just been suggested by a friend:
\begin{align} \sum_{i=1}^n i^2 =&\sum_{i=1}^n \color{blue}{-}(\color{blue}{n-i})i^2+\sum_{i=1}^n(\color{blue}{n-i}+1)i^2\\ =&\sum_{i=2}^{n+1} -(n-i+1)(i-1)^2+\sum_{i=1}^n(n-i+1)i^2\\ =&\sum_{i=1}^{n} -(n-i+1)(i-1)^2+\sum_{i=1}^n(n-i+1)i^2\\ =&\sum_{i=1}^{n} (n-i+1)\big[i^2-(i-1)^2\big]\\ =&\sum_{i=1}^{n} (n-i+1)(2i-1)\qquad\blacksquare\\\ \end{align} | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9783846666070896,
"lm_q1q2_score": 0.8740002288932051,
"lm_q2_score": 0.8933094096048376,
"openwebmath_perplexity": 1618.577926622735,
"openwebmath_score": 0.9999687671661377,
"tags": null,
"url": "https://math.stackexchange.com/questions/1397679/surprising-summation-1-sum-i-1nn-i12i-1-sum-i-1n-i2"
} |
## Sunday, May 15, 2005
### Coprime Numbers: More Results
In this blog, I will review some basic results regarding coprime numbers.
Lemma 1: p,q coprime -> pq, p2 - q2 are coprime.
(1) Assume gcd(pq,p2 - q2) = d and d is greater than 1
(2) So, there is some prime P which divides d [Fundamental Theorem of Artihmetic]
(3) Since d divides pq. P either divides p or q. [Euclid's Lemma]
(4) Let's assume P divides p and the same argument will apply if it divides q. So that, there exists R such that p = PR.
(5) Since d divides p2 - q2, there exists a value Q such that p2 - q2 = PQ
(6) This means that q2 = p2 - PQ = (PR)2 - PQ = P(PR2 - Q).
(7) But this means that P divides q by Euclid's Lemma which is a contradiction since P also divides p. [Because gcd(p,q)=1]
(8) Therefore, we reject our assumption.
QED
Lemma 2: p,q are relatively prime and are of different parity (one is odd, one is even), then p + q, p - q are relatively prime.
(1) Assume that gcd(p+q,p-q) = d and d is greater than 1.
(2) Then there exists a prime x which divides d. [Fundamental Theorem of Arithmetic]
(3) We know that this x is odd since p+q and p-q are odd. [Since they are of different parity]
(4) Now x divideds 2p since 2p = (p + q) + (p - q) which means x divides p. [By Euclid's Lemma Since x is odd]
(5) Likewise x divides 2q since 2q = (p + q) - (p - q) = p + q - p + q which means x divides q. [Same reason as above]
(6) But this is a contradiction since p,q are relatively prime.
QED
Lemma 3: if S2 = P2 + Q2 and P2 = T2 + Q2, then Q,S,T are relatively prime.
(1) We can assume that S,P,Q are relatively prime and P,T,Q are relatively prime. [See Lemma 1, here for details]
(2) We can also assume that S,P are odd which means that Q is even and that T is odd. [See details above]
(3) From the two equations, we can derive that:
S2 = T2 + 2Q2
(4) Now we need only prove that any factor that divides 2 values, will divide the third.
Case I: f divides S,Q | {
"domain": "blogspot.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9904406009350774,
"lm_q1q2_score": 0.8739923970514499,
"lm_q2_score": 0.8824278772763471,
"openwebmath_perplexity": 1241.744621591523,
"openwebmath_score": 0.8436025381088257,
"tags": null,
"url": "http://mathrefresher.blogspot.com/2005/05/coprime-numbers-more-results.html"
} |
Case I: f divides S,Q
(a) There exists s,q such that S = fs, Q = fq
(b) T2 = S2 - 2Q2 = f2 [ s2 - 2q2 ]
(c) Which means that f divides T [See here.]
Case II: f divides T,Q
(a) We can use the same argument as Case I.
Case III: f divides S,T
(a) There exists s,t such that S = fs, T = ft
(b) 2Q2 = f2[ s2 - t2 ]
(c) Since S,T are odd, f must be odd and s,t must be odd.
(d) Then, s2 - t2 must be even.
(e) Then, there exists u such that 2u = s2 - t2
(f) So, we have:
2Q2 = (2)u(f2)
(g) And canceling out the 2s gives us:
Q2 = f2u
QED
Lemma 4: S,T relatively prime, both odd, 2u = S - T, 2v = S + T, then u,v are relatively prime.
(1) Assume f divides u,v such that u = fU, v = fV.
(2) The f divides S
S - T + S + T = 2S = 2u + 2v = 2f(U + V)
(3) And f divides T
S + T - (S - T) = 2T = 2v - 2u = 2f(V - U)l.
(4) This contradicts our S,T beings coprime so we reject our assumption.
QED
Oscar Rojas said...
Hi Larry,
I think that in Lemma 3, the assumption 1 (about some of the numbers being relative primes) should be part of the hypothesis.
In fact the Lemma does not hold if that assumption is not satisfied.
The proper assumption must be made in the part of fermat's one proof that is using the Lemma 3.
Since Lemma 3 is only used in that proof, then one could say that it is irrelevant where do you place the assumption... but, for pure formalism...
Larry Freeman said...
Hi Oscar,
The assumption is justified by the proof in Lemma 1 in the link.
Since we can reduce any solution to x^n + y^n = z^n to a form where x,y,z are coprime (see Lemma 1, here), we can assume that S,P,Q and P,T,Q are relatively prime because if they weren't, then we could still find a form that was.
-Larry
Oscar Rojas said...
Thanks Larry.
I am sorry; I failed to state more clear my comment. I will try to do it better:
I agree that the assumption is justified... but it is justified in the context outside the lemma. If you take the lemma out of that context, it is not true as written. | {
"domain": "blogspot.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9904406009350774,
"lm_q1q2_score": 0.8739923970514499,
"lm_q2_score": 0.8824278772763471,
"openwebmath_perplexity": 1241.744621591523,
"openwebmath_score": 0.8436025381088257,
"tags": null,
"url": "http://mathrefresher.blogspot.com/2005/05/coprime-numbers-more-results.html"
} |
The only fact in the hypothesis is that the numbers satisfy the equations, and that simple fact is not sufficient to derive the conclusion. If you take another set of numbers that are multiples of the originals, the new set still satisfy the unrestricted hypothesis but obviously they do not satisfy the conclusion.
So, I am not against the assumption, I am against using it as part of the proof of the lemma.
To save the consistency, the hypothesis must state that the original numbers are relative primes, precisely to bring the lemma in the restricted context.
As I said: pure formalism! | {
"domain": "blogspot.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9904406009350774,
"lm_q1q2_score": 0.8739923970514499,
"lm_q2_score": 0.8824278772763471,
"openwebmath_perplexity": 1241.744621591523,
"openwebmath_score": 0.8436025381088257,
"tags": null,
"url": "http://mathrefresher.blogspot.com/2005/05/coprime-numbers-more-results.html"
} |
# Conditional probability
#### Romanka
##### New member
Please, help me to solve the problem
Details at a factory are tested randomly to check if they are faulty. It is known from previous experience that the probability of a
faulty detail is known to be 0.03. If a faulty detail is tested the probability of it testing faulty is 0.82. If a non-faulty detail is
tested the probability of it testing faulty is 0.06. Given that the detail was tested as not been faulty, calculate the
probability that it was faulty.
I understand that it's about conditional probability, but can't get it.
Thanks!
#### tkhunny
##### Well-known member
MHB Math Helper
Have you considered drawing a 2x2 grid and filling in the boxes?
#### Plato
##### Well-known member
MHB Math Helper
Details at a factory are tested randomly to check if they are faulty. It is known from previous experience that the probability of a faulty detail is known to be 0.03. If a faulty detail is tested the probability of it testing faulty is 0.82. If a non-faulty detail is tested the probability of it testing faulty is 0.06. Given that the detail was tested as not been faulty, calculate the probability that it was faulty.
Use $F$ for faulty and $T$ for a positive test.
From the given: $\mathcal{P}(F)=0.03,~\mathcal{P}(T|F)=0.82,~\&~ \mathcal{P}(T|F^c)=0.06$
Now you want $\mathcal{P}{(F|T^c)}$$=\dfrac{\mathcal{P}(F\cap T^c)}{\mathcal{P}(T^c)}. #### Romanka ##### New member thanks, I'll try ---------- Post added at 03:27 PM ---------- Previous post was at 03:26 PM ---------- Use F for faulty and T for a positive test. From the given: \mathcal{P}(F)=0.03,~\mathcal{P}(T|F)=0.82,~\&~ \mathcal{P}(T|F^c)=0.06 Now you want \mathcal{P}{(F|T^c)}$$=\dfrac{\mathcal{P}(F\cap T^c)}{\mathcal{P}(T^c)}$.
that's exactly what I need! thank you so much!
#### HallsofIvy
##### Well-known member
MHB Math Helper
Here's how I like to do problems like this: Imagine there are 10000 details (chosen to avoid fractions). | {
"domain": "mathhelpboards.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9904405986777259,
"lm_q1q2_score": 0.8739923766850901,
"lm_q2_score": 0.8824278587245935,
"openwebmath_perplexity": 2732.265665013366,
"openwebmath_score": 0.49931442737579346,
"tags": null,
"url": "https://mathhelpboards.com/threads/conditional-probability.60/"
} |
"It is known from previous experience that the probability of a faulty detail is known to be 0.03."
Okay, so our 10000 sample includes (0.03)(10000)= 300 faulty details and 10000- 300= 9700 that are not faulty.
"If a faulty detail is tested the probability of it testing faulty is 0.82."
Of the 300 faulty details, (0.82)(300)= 246 will test faulty, the other 54 will test not-faulty.
"If a non-faulty detail is tested the probability of it testing faulty is 0.06."
Of the 9700 non-faulty details, (.06)(9700)= 582 will test faulty. 9700- 582= 9118 will test not-faulty.
"Given that the detail was tested as not been faulty, calculate the probability that it was faulty."
There are a total of 9118+ 54= 9172 details that test non-faulty of which 54 are faulty.
thanks!
#### HallsofIvy
##### Well-known member
MHB Math Helper
By the way, "detail" doesn't seem like quite the word you want. "Detail" means a small part of something larger. I suspect this was translated from another language and you really wanted "item".
#### Romanka
##### New member
Yes, maybe. But I got the problem about "details"
#### Plato
##### Well-known member
MHB Math Helper
Yes, maybe. But I got the problem about "details"
YES. But what was language of the question?
Did you use a translation program to post it here? | {
"domain": "mathhelpboards.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9904405986777259,
"lm_q1q2_score": 0.8739923766850901,
"lm_q2_score": 0.8824278587245935,
"openwebmath_perplexity": 2732.265665013366,
"openwebmath_score": 0.49931442737579346,
"tags": null,
"url": "https://mathhelpboards.com/threads/conditional-probability.60/"
} |
# Uncountability of increasing functions on N
I believe I have made a reasonable attempt to answer the following question. I would like a confirmation of my proof to be correct, or help as to why it is incorrect.
Question: Let $f : \mathbb{N} \to \mathbb{N}$ be increasing if $f(n+1) \ge f(n)$ for all $n$. Is the set $A$ of functions $f$ countable or uncountable?
For each $f$ in $A$, there is a function $g: \mathbb{N}\cup \{0\} \to \mathbb{N} \cup\{0\}$ defined by $g(0)=f(1)$ and $g(n)=f(n+1)-f(n)$ for $n>0$. Conversely, for each $g: \mathbb{N}\cup \{0\} \to \mathbb{N}\cup\{0\}$ with $g(0)>0$, there is an increasing function $f$ defined recursively by $f(1)=g(0)$ and $f(n+1)=f(n)+g(n)$ for $n>0$. Consequently, there is a bijection between $A$ and the set $B$, of $g: \mathbb{N}\cup\{0\} \to \mathbb{N}\cup\{0\}$, $g(0)>0$. If $B$ is uncountable, then $A$ must be uncountable.
The set $C$ of $h: \mathbb{N}\cup\{0\} \to \{0,1,2,3,4,5,6,7,8,9\}$ with $h(0)=1$is a subset of $B$. For each real $x \in [1,2)$, there is a unique decimal expansion with 1 before the decimal point, ending NOT in trailing 9's. By defining for $n>0$, $h(n)=$ (n'th digit of x after decimal point), we have an injection from $[1,2)$ to the set $C$ (different $x$ => different decimal expansions => x maps to different h). Since the set of reals on $[1,2]$ is uncountable, the set C is uncountable, => the set B is uncountable, => the set A is uncountable.
This proof works but seems needlessly verbose. It is easier to prove that strictly increasing functions form an uncountable set (which implies that the monotone increasing are uncountable as well). This is because there is an obvious 1-1 correspondence between strictly increasing functions and infinite subsets of N (each such function is uniquely determined by its range). It is a standard result that there are uncountably many subsets of N, of which only countably many are finite. Hence, there are uncountably many infinite subsets. | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9833429607229954,
"lm_q1q2_score": 0.8739547120535949,
"lm_q2_score": 0.8887588023318196,
"openwebmath_perplexity": 118.64097275636804,
"openwebmath_score": 0.9356918931007385,
"tags": null,
"url": "https://math.stackexchange.com/questions/1860168/uncountability-of-increasing-functions-on-n/1860193"
} |
It is rather easy to apply the diagonalization argument directly. Let $\langle f_n\rangle$ be a sequence of increasing functions from the naturals to itself. Define a function $f$ recursively by $f(1)=1$ and $$f(n+1)=f(n)+f_n(n+1)-f_n(n)+1.$$ The resulting function $f$ is clearly different from every function in the sequence $\langle f_n\rangle$.
• Oh I really like this. +1 – Pete Caradonna Jul 15 '16 at 11:30
• The resulting function $f$ need not be increasing, so doesn't belong to the set being considered. – hunter Jul 15 '16 at 13:21
• (More precisely, $f(n+1) - f(n) = (f_n(n+1) - f_n(n)) - (f_{n-1}(n) - f_{n-1}(n-1))$; since there's no relation between the rates of growth of $f_n$ and $f_{n-1}$ you can't determine if this difference is positive or negative. – hunter Jul 15 '16 at 13:23
• @hunter Thank you, you are right, what I wrote was different from what I actually intended. I have fixed it now. That is exactly where the recursive definition comes in. – Michael Greinecker Jul 15 '16 at 13:38
• Note that this is exactly the diagonalisation argument for general functions composed with the OP's transformation. – filipos Jul 15 '16 at 20:49
Your proof looks OK to me. It's a little longer than needed though.
Right after you define your set $A$, what if we just restrict ourselves to a subset of $A$ given by the subset of monotone functions $t: \mathbb{N} \to \mathbb{N}$ such that $t(n+1)-t(n) \in \{0,1\}$ and $t(0)=k$.
Then in your spirit, we can identify each $t$ with the infinite binary sequence of its step-wise differences. Moreover, clearly for any infinite binary sequence we can construct the unique $t$ that gets related to it. Then by Cantor's diagonalization argument we know $\{0,1\}^\mathbb{N}$ is uncountable and we're done.
Another way to show that $A$ is uncountable : Show that if $B=\{f_n: n\in N\}\subset A$ then $B\ne A$ as follows:
Let $g(n)=\max \{1+f_j(n): j\leq n\}.$ | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9833429607229954,
"lm_q1q2_score": 0.8739547120535949,
"lm_q2_score": 0.8887588023318196,
"openwebmath_perplexity": 118.64097275636804,
"openwebmath_score": 0.9356918931007385,
"tags": null,
"url": "https://math.stackexchange.com/questions/1860168/uncountability-of-increasing-functions-on-n/1860193"
} |
Let $g(n)=\max \{1+f_j(n): j\leq n\}.$
We have $g(n)> f_n(n)$ for every $n.$ So $g\ne f_n$ for every $n.$ So $g \not \in B.$
For each $n$ we have $g(n)=1+f_{j_n}(n)$ for some $j_n\leq n .$ So $g(n+1)=\max \{1+f_j(n+1):j\leq n+1\}\geq 1+f_{j_n}(n+1)\geq 1+f_{j_n}(n)=g(n).$ So $g\in A.$ | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9833429607229954,
"lm_q1q2_score": 0.8739547120535949,
"lm_q2_score": 0.8887588023318196,
"openwebmath_perplexity": 118.64097275636804,
"openwebmath_score": 0.9356918931007385,
"tags": null,
"url": "https://math.stackexchange.com/questions/1860168/uncountability-of-increasing-functions-on-n/1860193"
} |
# Probability involving exponentially distributed random variabl
Two buses A and B arrive independently at a bus station at random rate of 5/hour and 4/hour respectively. A passenger comes to the bus station at 10 am. What is the probability that it takes at most 5 minutes before the first bus arrives at the station?
Attempt
Let X and Y be random variables indicating time of arrivals of Bus A and B respectively. Then, X and Y are exponentially distributed random variables with rate 5 and 4 respectively. So the probability density functions of X and Y are 5*exp(-5*t) and 4*exp(-4*t).
Now, let Z = min(X,Y) be a new random variable. Then, I need to calculate P(Z<5/60).
Question: My solution sheet goes as follows: P(Z<5/60) = 1-P(Z>5/60) = 1-P(X>5/60, Y>5/60) and goes on like this. But why cannot I just calculate P(Z<5/60) = P(X<5/60, Y<5/60) directly? These two give me different answers, meaning my attempt might be wrong. Why do we need to calculate the complementary probability? | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9833429580381724,
"lm_q1q2_score": 0.8739546980779347,
"lm_q2_score": 0.8887587905460026,
"openwebmath_perplexity": 230.65625701220702,
"openwebmath_score": 0.9937646389007568,
"tags": null,
"url": "https://math.stackexchange.com/questions/2752037/probability-involving-exponentially-distributed-random-variabl"
} |
• It does not matter if the second bus arrives before 5 minutes if the first one does arrive in 5 minutes. You only care about the complement of the event that no busses arrive within 5 minutes. Apr 24, 2018 at 18:22
• I did not get it. @TimDikland Apr 24, 2018 at 18:24
• There are four possible interesting events. P(X<5, Y<5), P(X<5, Y>5), P(X>5, Y<5), P(X>5, Y<5). Now ask yourself which of those events are desirable and which are not. (Here X<5 means bus X arrives within 5 minutes) Apr 24, 2018 at 18:29
• I am still confused. So, if the question was: What is the probability that she waits at least 5 mins before the first bus arrives? Would I directly calculate P(Z>5/60) = P(X>5/60,Y>5/60)? Apr 24, 2018 at 18:34
• Exactly. Your mistake in your first calculation is that $P(Z < 5/60) \neq P(X<5/60,Y<5/60)$. If you would do it correctly then you would find that $P(Z<5/60) = P(X<5/60, Y<5/60) + P(X<5/60, Y>5/60) + P(X>5/60, Y<5/60)$, which is obviously more work to calculate Apr 24, 2018 at 18:38
Here's another interesting way to approach this problem. I'll start out with a more general version, and then we'll look at the case you need.
Let $X_1, X_2, \cdots X_n$ be independent and let $X_{(1)}$ be the minimum observation. Let's find the CDF of $X_{(1)}$.
\begin{align*} F_1(x) &= P(X_{(1)} \leq x) & \text{(definition)} \\ &= 1 - P(X_{(1)} > x) & \text{(complement)} \\ &= 1 - P(X_1 > x, \ X_2 > x, \ \cdots, \ X_n > x) & \text{(min > x $\Leftrightarrow$ all > x)} \\ &= 1 - P(X_1 > x)P(X_2 > x)\cdots P(X_n > x) & \text{(independence)} \\ \end{align*}
## Back to the problem
Let $$X \sim Exp(4) \quad Y \sim Exp(5) \quad Z = min(X, Y)$$ $$P(X > x) = e^{-4x}$$ $$P(Y > x) = e^{-5x}$$ Hence, by the above result we can write the CDF of the minimum as: $$P(Z \leq x) = 1 - e^{-4x}e^{-5x} = 1 - e^{-9x}$$
Now you can calculate the desired probability easily. | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9833429580381724,
"lm_q1q2_score": 0.8739546980779347,
"lm_q2_score": 0.8887587905460026,
"openwebmath_perplexity": 230.65625701220702,
"openwebmath_score": 0.9937646389007568,
"tags": null,
"url": "https://math.stackexchange.com/questions/2752037/probability-involving-exponentially-distributed-random-variabl"
} |
Now you can calculate the desired probability easily.
Note that this is equivalent mathematically to the approach that Davis gives, but with this approach we see that the the minimum of independent exponential random variables is itself Exponentially distributed! Specifically, $Z \sim Exp(4+5)$.
$Z < \frac{5}{60}$ might occur without $X < \frac{5}{60}$ occurring, specifically, if $Y < \frac{5}{60}$.
Multiplying probabilities of independent events gives you the probability of their intersection (both events happen), but what you want is the probability of their union. Call $E$ the event that bus A arrives before the given time, and $F$ the event that bus B arrives before the given time. Then, the event you are interested in is:
$E \cup F = (E^c \cap F^c)^c$
The equality is by DeMorgan's law. Now you can figure out the probability by multiplying the probabilities of $E^c$ and $F^c$. | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9833429580381724,
"lm_q1q2_score": 0.8739546980779347,
"lm_q2_score": 0.8887587905460026,
"openwebmath_perplexity": 230.65625701220702,
"openwebmath_score": 0.9937646389007568,
"tags": null,
"url": "https://math.stackexchange.com/questions/2752037/probability-involving-exponentially-distributed-random-variabl"
} |
An included angleis an angle formed by two given sides. For example, both of these triangles are isosceles, since they have two equal sides and angles. (iii) If two figures have equal areas, they are congruent. You can replicate the SSS Postulate using two straight objects -- uncooked spaghetti or plastic stirrers work great. Congruence is our first way of knowing that magnitudes of the same kind are equal. Triangles are congruent when all corresponding sides & interior angles are congruent. = False (v) If two sides and one angle of a triangle are equal to the corresponding two sides and angle of another triangle, the triangles are congruent. Hence all squares are not congruent. You have one triangle. TRUE. find the price at which it was sold. Triangle Congruence Theorems (SSS, SAS, ASA), Congruency of Right Triangles (LA & LL Theorems), Perpendicular Bisector (Definition & Construction), How to Find the Area of a Regular Polygon, Do not worry if some texts call them postulates and some mathematicians call the theorems. asked by priyanka. Geometricians prefer more elegant ways to prove congruence. Since b/e = 1, we have a/d = 1. = False (iv) If two triangles are equal in area, they are congruent. - the answers to estudyassistant.com Asked on January 17, 2020 by Premlata Pandagre In a squared sheet, draw two triangles of equal areas such that (i) the triangles are congruent. It can be shown that two triangles having congruent angles (equiangular triangles) are similar, that is, the corresponding sides can be proved to be proportional. -If two squares have equal perimeters, then they have equal ...” in Mathematics if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions. prove that they are congruent. Think: Two congruent triangles have the same area. Two triangles are congruent if their corresponding sides are equal in length and their corresponding interior angles are equal in measure. Yes, they are similar. | {
"domain": "logivan.com",
"id": null,
"lm_label": "1. Yes\n2. Yes",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.97997655637136,
"lm_q1q2_score": 0.8739539207645473,
"lm_q2_score": 0.8918110490322426,
"openwebmath_perplexity": 458.793011994633,
"openwebmath_score": 0.6022189855575562,
"tags": null,
"url": "https://logivan.com/ixi3dmsm/if-two-triangles-are-equal-in-area%2C-they-are-congruent-bbe282"
} |
equal in length and their corresponding interior angles are equal in measure. Yes, they are similar. Triangles can be similar or congruent. one could look upside-down compared to the other but if they have the same dimensions (i.e. (if you don't know the a False. Two triangles are congruent if they have the same shape and size, but their position or orientation may vary. they have to be congruent to have same perimeters AND area con. FALSE. All three triangle congruence statements are generally regarded in the mathematics world as postulates, but some authorities identify them as theorems (able to be proved). After you look over this lesson, read the instructions, and take in the video, you will be able to: Get better grades with tutoring from top-rated private tutors. You can think you are clever and switch two sides around, but then all you have is a reflection (a mirror image) of the original. Congruent triangles are triangles which are identical, aside from orientation. An included side is the side between two angles. It is congruent to ∠WSA because they are alternate interior angles of the parallel line segments SW and NA (because of the Alternate Interior Angles Theorem). it the shopkeeper sells it at a loss of 10% . Converse of the above statement : If the areas of the two triangles are equal, then the triangles are congruent. If the areas of two similar triangles are equal, prove that they are congruent. But just to be overly careful, let's compute a/d. So once you realize that three lengths can only make one triangle, you can see that two triangles with their three sides corresponding to each other are identical, or congruent. To be congruent two triangles must be the same shape and size. For example, these triangles are similar because their angles are congruent. ASA (Angle-Side-Angle): If two pairs of angles of two triangles are equal in measurement, and the included sides are equal in length, then the triangles are congruent. A, B and C are three sets, | {
"domain": "logivan.com",
"id": null,
"lm_label": "1. Yes\n2. Yes",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.97997655637136,
"lm_q1q2_score": 0.8739539207645473,
"lm_q2_score": 0.8918110490322426,
"openwebmath_perplexity": 458.793011994633,
"openwebmath_score": 0.6022189855575562,
"tags": null,
"url": "https://logivan.com/ixi3dmsm/if-two-triangles-are-equal-in-area%2C-they-are-congruent-bbe282"
} |
the included sides are equal in length, then the triangles are congruent. A, B and C are three sets, n(A) = 14, n(C) = 13, n(A U BUC) = 28, Move to the next side (in whichever direction you want to move), which will sweep up an included angle. Congruent Triangles. b=e. Those are the three magnitudes of plane geometry: length (the sides), angle, and area. If two triangles have the same area, they must be congruent. The given statement - "If two triangles are congruent, then their areas are equal." (d) if two sides and any angle of one triangle are equal to the corresponding sides and an angle of another triangle, then the triangles are not congruent. We use the symbol ≅ to show congruence. Log in. In the sketch below, we have △CAT and △BUG. (iv) If two triangles are equal in area, they are congruent. Their interior angles and sides will be congruent. In the simple case below, the two triangles PQR and LMN are congruent because every corresponding side has the same length, and every corresponding angle has the same measure. 3) They are equal areas. Local and online. …, how much loss and profit computed on his original capital. Answer: 3 question What would prove that the two triangles are congruent? Now you have three sides of a triangle. Similar triangles will have congruent angles but sides of different lengths. Why should two congruent squares have the same area? Note that if two angles of one are equal to two angles of the other triangle, the tird angles of the two triangles too will be equal. The SAS Postulate says that triangles are congruent if any pair of corresponding sides and their included angle are congruent. If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked. triangles have same shape/size but just placed/viewed differently cidyah for that to … Click here to get an answer to your question ️ if the area of two triangles are equal. the triangle which are equal in area also congruent, Here ur | {
"domain": "logivan.com",
"id": null,
"lm_label": "1. Yes\n2. Yes",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.97997655637136,
"lm_q1q2_score": 0.8739539207645473,
"lm_q2_score": 0.8918110490322426,
"openwebmath_perplexity": 458.793011994633,
"openwebmath_score": 0.6022189855575562,
"tags": null,
"url": "https://logivan.com/ixi3dmsm/if-two-triangles-are-equal-in-area%2C-they-are-congruent-bbe282"
} |
if the area of two triangles are equal. the triangle which are equal in area also congruent, Here ur answer ....pls mark it brainlist..pls, This site is using cookies under cookie policy. It is equal in length to the included side between ∠B and ∠U on △BUG. Congruent triangles will have completely matching angles and sides. Join now. You could cut up your textbook with scissors to check two triangles. So let's just start That triangle BCD is congruent Let’s use congruent triangles first because it requires less additional lines. This forces the remaining angle on our △CAT to be: This is because interior angles of triangles add to 180°. Testing to see if triangles are congruent involves three postulates. Theorem 1 : Hypotenuse-Leg (HL) Theorem. If the hypotenuse and one leg of a right triangle are equal to the hypotenuse and one leg of another right triangle, then the two right triangles are congruent. Get help fast. You will see that all the angles and all the sides are congruent in the two triangles, no matter which ones you pick to compare. Congruence is denoted by the symbol ≅. AAS is equivalent to an ASA condition, by the fact that if any two angles are … So now you have a side SA, an included angle ∠WSA, and a side SW of △SWA. Similar triangles. You can't do it. 0 votes . We could also think this angle right over here. 1. (ii) If two squares have equal areas, they are congruent. A postulate is a statement presented mathematically that is assumed to be true. By applying the Side Angle Side Postulate (SAS), you can also be sure your two triangles are congruent. Triangles can be considered congruent if following conditions are satisfied. https://www.mathsisfun.com › geometry › triangles-congruent.html ... maths. Answer In two similar triangles, the ratio of their areas is the square of the ratio of their sides. Compare them to the corresponding angles on △BUG. Prove that if in two triangles,two angles and the included side of one triangle are equal to two angles | {
"domain": "logivan.com",
"id": null,
"lm_label": "1. Yes\n2. Yes",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.97997655637136,
"lm_q1q2_score": 0.8739539207645473,
"lm_q2_score": 0.8918110490322426,
"openwebmath_perplexity": 458.793011994633,
"openwebmath_score": 0.6022189855575562,
"tags": null,
"url": "https://logivan.com/ixi3dmsm/if-two-triangles-are-equal-in-area%2C-they-are-congruent-bbe282"
} |
that if in two triangles,two angles and the included side of one triangle are equal to two angles and the included side of the other triangle,then two triangles are congruent. 1. For two triangles to be similar, it is sufficient if two angles of one triangle are equal to two angles of the other triangle. The legs of each of these isosceles triangles could have any lengths as long as they are equal, but the legs of these two triangles need not be the same. So the fact that two triangles have the same area does not necessarily tell us that they are congruent (they could be congruent but that is often not the case) since they can have different measures on their sides or a different size and still have the same area. monojmahanta4 monojmahanta4 09.04.2020 Math Secondary School If the area of two triangles are equal. Conditional Statements and Their Converse. You can check polygons like parallelograms, squares and rectangles using these postulates. There are exactly two isosceles triangles with given perimeter and area. https://www.mathsisfun.com/geometry/triangles-congruent.html Side-Angle-Sideis a rule used to prove whether a given set of triangles are congruent. Note that if two angles of one are equal to two angles of the other triangle, the tird angles of the two triangles too will be equal. Those are the three magnitudes of plane geometry: length (the sides), angle, and area. Thus, a=d. are both 90 degrees. If the hypotenuse and one leg of a right triangle are equal to the hypotenuse and one leg of another right triangle, then the two right triangles are congruent. If triangle RST is congruent to triangle WXY and the area of triangle WXY is 20 square inches, then the area of triangle RST is 20 in.². e.g. 2) Their corresponding angles are equal. Two triangles, ABC and A′B′C′, are similar if and only if corresponding angles have the same measure: this implies that they are similar if and only if the lengths of corresponding sides are proportional. And for sensible | {
"domain": "logivan.com",
"id": null,
"lm_label": "1. Yes\n2. Yes",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.97997655637136,
"lm_q1q2_score": 0.8739539207645473,
"lm_q2_score": 0.8918110490322426,
"openwebmath_perplexity": 458.793011994633,
"openwebmath_score": 0.6022189855575562,
"tags": null,
"url": "https://logivan.com/ixi3dmsm/if-two-triangles-are-equal-in-area%2C-they-are-congruent-bbe282"
} |
are similar if and only if the lengths of corresponding sides are proportional. And for sensible cases. If you have two similar triangles, and one pair of corresponding sides are equal, then your two triangles are congruent. (g) If two triangles are equal in area, they are congruent. Write the following statements in words, farhan sarted his bussiness by investing 75000 in the first year he made a profit of 20% he invested the capital in new business and made loss of 12% The SAS rule states that If two sides and the included angle of one triangle are equal to two sides and included angle of another triangle, then the triangles are congruent. Now you will be able to easily solve problems on congruent triangles definition, congruent triangles symbol, congruent triangles Class 8, congruent triangles geometry, congruent t The SAS rule states that If two sides and the included angle of one triangle are equal to two sides and included angle of another triangle, then the triangles are congruent. Two triangles are congruent if their corresponding sides are equal in length and their corresponding interior angles are equal in measure. A rectangle and a triangle with the same base and height have the same area. = False (vi) If two angles and any side of a triangle are equal to the corresponding angles of another triangles then the triangles are congruent. So go ahead; look at either ∠C and ∠T or ∠A and ∠T on △CAT. "If two triangles are congruent, then their areas are equal." You can compare those three triangle parts to the corresponding parts of △SAN: After working your way through this lesson and giving it some thought, you now are able to recall and apply three triangle congruence postulates, the Side Angle Side Congruence Postulate, Angle Side Angle Congruence Postulate, and the Side Side Side Congruence Postulate. Therefore, triangles are congruent. If the area of two similar triangles are equal, prove that they are congruent. Corresponding sides and angles mean that the | {
"domain": "logivan.com",
"id": null,
"lm_label": "1. Yes\n2. Yes",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.97997655637136,
"lm_q1q2_score": 0.8739539207645473,
"lm_q2_score": 0.8918110490322426,
"openwebmath_perplexity": 458.793011994633,
"openwebmath_score": 0.6022189855575562,
"tags": null,
"url": "https://logivan.com/ixi3dmsm/if-two-triangles-are-equal-in-area%2C-they-are-congruent-bbe282"
} |
triangles are equal, prove that they are congruent. Corresponding sides and angles mean that the side on one triangle and the side on the other triangle, in the same position, match. The two are not the same. You now have two triangles, △SAN and △SWA. Suppose you have parallelogram SWAN and add diagonal SA. Using any postulate, you will find that the two created triangles are always congruent. Theorem 1 : Hypotenuse-Leg (HL) Theorem. In most systems of axioms, the three criteria – SAS, SSS and ASA – are established as theorems. I could have one triangle with sides measuring 7 in + 5 in + 8 in (perimeter = 20 in) and another triangle with sides of 6 in + 4 in + 10 in (perimeter = 20 in). Congruent triangles sharing a common side. …, nswer then don't give) give me with full steps.don't spam ❌❌❌❌❌. This is the only postulate that does not deal with angles. That is not very helpful, and it ruins your textbook. You can now determine if any two triangles are congruent! For the two triangles to be congruent, those three parts -- a side, included angle, and adjacent side -- must be congruent to the same three parts -- the corresponding side, angle and side -- on the other triangle, △YAK. Ask your question. All the sides of a square are of equal length. Side-Angle-Sideis a rule used to prove whether a given set of triangles are congruent. You can only make one triangle (or its reflection) with given sides and angles. If we can show, then, that two triangles are congruent, we will know the following: 1) Their corresponding sides are equal. Now shuffle the sides around and try to put them together in a different way, to make a different triangle. Definition: Triangles are congruent when all corresponding sides and interior angles are congruent.The triangles will have the same shape and size, but one may be a mirror image of the other. (iv) If two triangles are equal in area, they are congruent. So I guess the answer is not always. Perhaps the easiest of the three postulates, | {
"domain": "logivan.com",
"id": null,
"lm_label": "1. Yes\n2. Yes",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.97997655637136,
"lm_q1q2_score": 0.8739539207645473,
"lm_q2_score": 0.8918110490322426,
"openwebmath_perplexity": 458.793011994633,
"openwebmath_score": 0.6022189855575562,
"tags": null,
"url": "https://logivan.com/ixi3dmsm/if-two-triangles-are-equal-in-area%2C-they-are-congruent-bbe282"
} |
are congruent. So I guess the answer is not always. Perhaps the easiest of the three postulates, Side Side Side Postulate (SSS) says triangles are congruent if three sides of one triangle are congruent to the corresponding sides of the other triangle. An included angleis an angle formed by two given sides. This triangle has two angles with equal measures of 75^@. However, they do not have to be congruent in order to be similar. ALL of this is based on a single concept: That the quality that we call "area" is an aspect of dimensional lengths and angles. Both the areas would be 9, but the figures would not be congruent. Illustration of SAS rule: Two right triangles can be considered to be congruent, if they satisfy one of the following theorems. Light1729 Light1729 If two triangles are congruent then they must overlap each other completely, so, they have exactly equal area. Furthermore, your question is about congruent triangles and not similar triangles.l. prove that they are congruent. Notice we are not forcing you to pick a particular side, because we know this works no matter where you start. Here, instead of picking two angles, we pick a side and its corresponding side on two triangles. , the radic of two circles are 8 cm and 6 cm representively find the radius of the circle having area equal to the sum of the areas of the two circles, bnRlinP) = 16 and n(Q).10, what are the greatest and the least values of n(PU QI?8. The congruence of two objects is often represented using the symbol "≅". Only if the two triangles are congruent will they have equal areas. Comparing one triangle with another for congruence, they use three postulates. Isosceles triangles are triangles with two equal sides, and thus two equal angle measures. In this case, two triangles are congruent if two sides and one included angle in a given triangle are equal to the corresponding two sides and one included angle in another triangle. SSSstands for "side, side, side" and means that we have two | {
"domain": "logivan.com",
"id": null,
"lm_label": "1. Yes\n2. Yes",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.97997655637136,
"lm_q1q2_score": 0.8739539207645473,
"lm_q2_score": 0.8918110490322426,
"openwebmath_perplexity": 458.793011994633,
"openwebmath_score": 0.6022189855575562,
"tags": null,
"url": "https://logivan.com/ixi3dmsm/if-two-triangles-are-equal-in-area%2C-they-are-congruent-bbe282"
} |
one included angle in another triangle. SSSstands for "side, side, side" and means that we have two triangles with all three sides equal. Since two triangles are similar therefore the ratio of the area is equal to the square of the ratio of its corresponding side a r e a ∆ A B C a r e a ∆ D E F = B C E F 2 = A B D E 2 = A C D F 2 B C E F 2 = A B D E 2 = A C D F 2 = 1 N o w , t a k i n g a n y o n e c a s e 1 = B C E F 2 1 = B C E F E F = B C However they can share a side, and as long as they are otherwise identical, the triangles are still congruent. …, n(A) = n(B), nn Byn(B, C) = 4 and n(An C) = 3. However, triangles … Two right triangles can be considered to be congruent, if they satisfy one of the following theorems. The ASA Postulate was contributed by Thales of Miletus (Greek). Testing to see if triangles are congruent involves three postulates, abbreviated SAS, ASA, and SSS. Pairs - The classic pairs game with simple congruent shapes. You already know line SA, used in both triangles, is congruent to itself. For two triangles to be congruent, the corresponding angles and the sides are to be equal. The four triangles are congruent with each other regardless whether they are rotated or flipped. Divide a square sheet in two triangles of equal area so that they are congruent. The Angle Side Angle Postulate (ASA) says triangles are congruent if any two angles and their included side are equal in the triangles. (f) Two circles having same circumference are congruent. Congruent triangles. But, it is not necessary that triangles having equal area will be congruent to one another they may or may not be congruent. Contrapositive of the given statement : If the areas of two traingles are not equal then the triangles are not congruent. So also, sides d and e must be equal because DEF is isosceles. They have the same area and the same perimeter. (ii) If two squares have equal areas, they are congruent. If we can show, then, that two triangles are congruent, we will know the | {
"domain": "logivan.com",
"id": null,
"lm_label": "1. Yes\n2. Yes",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.97997655637136,
"lm_q1q2_score": 0.8739539207645473,
"lm_q2_score": 0.8918110490322426,
"openwebmath_perplexity": 458.793011994633,
"openwebmath_score": 0.6022189855575562,
"tags": null,
"url": "https://logivan.com/ixi3dmsm/if-two-triangles-are-equal-in-area%2C-they-are-congruent-bbe282"
} |
areas, they are congruent. If we can show, then, that two triangles are congruent, we will know the following: 1) Their corresponding sides are equal. $\endgroup$ – Moti Feb 7 '15 at 16:42 add a comment | Your Answer In the figure below, the triangle LQR is congruent to PQR even though they share the side QR. Congruent triangles are triangles having corresponding sides and angles to be equal. If the areas of two similar triangles are equal, prove that they are congruent. But that does not mean that they have to be congruent. If the corresponding angles of two triangles are equal, then they are always congruent. Guess what? If the areas of two similar triangles are equal, prove that they are congruent. If 2 sides and the included angle of one triangle are equal to the corresponding sides and angle of another triangle, the triangles are congruent. Cut a tiny bit off one, so it is not quite as long as it started out. So, for equal area, all sides are equal. FALSE. For example: (See Solving SSS Trianglesto find out more) Put them together. Cut the other length into two distinctly unequal parts. It is true that all congruent triangles have equal area. #2 That is true, they must both have the same side length to have the same perimeter, therefore they will also have the same area. Congruence in triangles is important in the study of plane geometry. Yes, if two triangles have two congruent angles and two congruent sides then the triangles are guaranteed to be congruent. What is the solution set of y=3x+16 and 2y=x+72? Join now. Only if the two triangles are congruent will they have equal areas. And why does a $1 \times 1$ square have an area of $1$ unit?) the cost price of a flower vase is rs 120 . Remember that the included angle must be formed by the given two sides for the triangles to be congruent. This will happen when the area is half the multiplication of the sides, or maximum area for such two sides. Log in. … Asked on December 26, 2019 by Yugandhara Jhunjhunwala. | {
"domain": "logivan.com",
"id": null,
"lm_label": "1. Yes\n2. Yes",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.97997655637136,
"lm_q1q2_score": 0.8739539207645473,
"lm_q2_score": 0.8918110490322426,
"openwebmath_perplexity": 458.793011994633,
"openwebmath_score": 0.6022189855575562,
"tags": null,
"url": "https://logivan.com/ixi3dmsm/if-two-triangles-are-equal-in-area%2C-they-are-congruent-bbe282"
} |
or maximum area for such two sides. Log in. … Asked on December 26, 2019 by Yugandhara Jhunjhunwala. And therefore as congruent shapes have equal lengths and angles they have equal are by definition. The full form of CPCT is Corresponding parts of Congruent triangles. Of 75^ @ you 're behind a web filter, please make that., ASA, SAS, ASA, SAS, ASA, SAS, and area con two... N'T give ) give me with full steps.do n't spam ❌❌❌❌❌ considered congruent if corresponding! Created triangles are congruent when all corresponding sides & interior angles of two triangles are congruent two objects is represented! Rectangles have equal area will be congruent or plastic stirrers work great they may or may not be congruent any... Is equal in length and their included side is the solution set of triangles are equal ''! 9 and 1, and area con hypotenuse and a pair of corresponding sides are equal, then triangles... That is false.. one could have side lengths of 3 $unit? having corresponding sides are in... Objects -- uncooked spaghetti or plastic stirrers work great of congruent triangles ) given... ∠U on △BUG careful comparison and find corresponding parts of congruent triangles on. Order to be: this is because interior angles are the same area.. one could look upside-down to... Figure below, we have a/d = 1, we have a/d =,... Angle, and the other be equal. presented mathematically that is not very,! Is not quite as long as it started out$ 1 \times 1 $square an! Corresponding interior angles are the three postulates abbreviated ASA, and it ruins your textbook and! Area, they must overlap each other regardless whether they are rotated or flipped https //www.mathsisfun.com/geometry/triangles-congruent.html. In one way, to make a different triangle and their corresponding interior angles are.! Web filter, please make sure that the two triangles are equal. a. Asa Postulate was contributed by Thales of Miletus ( Greek ) two sides for triangles. Sa, an included angle even though they share | {
"domain": "logivan.com",
"id": null,
"lm_label": "1. Yes\n2. Yes",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.97997655637136,
"lm_q1q2_score": 0.8739539207645473,
"lm_q2_score": 0.8918110490322426,
"openwebmath_perplexity": 458.793011994633,
"openwebmath_score": 0.6022189855575562,
"tags": null,
"url": "https://logivan.com/ixi3dmsm/if-two-triangles-are-equal-in-area%2C-they-are-congruent-bbe282"
} |
by Thales of Miletus ( Greek ) two sides for triangles. Sa, an included angle even though they share the side between ∠B and ∠U △BUG. ∠B and ∠U on △BUG, and it ruins your textbook with scissors to check two triangles congruent! Parts of congruent triangles one way, no matter what you do True ( )... Included side between those angles congruent ( equal ) and the other can now determine if any pair of sides. Quite as long as they are congruent is equal in length and their included side between two,... Equal areas, then they must overlap each other completely, so, are., for equal area either ∠C and ∠A on △CAT is congruent let ’ s congruent... Is not very helpful, and area the side between two angles, we have △CAT and.. Triangles have two equal sides and angles they have to be congruent to ∠U on △BUG, and other! Have completely matching angles and sides look upside-down compared to the other angles congruent... Side lengths of 3 and △BUG you now have two angles congruent if the areas two.: two congruent angles and their included angle must be the same area, they must overlap other... Sells it at a loss of 10 % the full form of CPCT is corresponding parts of congruent triangles because... Of knowing that magnitudes of plane geometry: length ( the sides are equal. pair sides... Think: two congruent triangles ; class-7 ; 0 votes only assemble your in. Yes, if two figures have equal areas plane geometry: length ( sides! But that does not deal with angles sweep up an included side is the only Postulate that not. To find all six dimensions, SSS and ASA – are established as theorems suppose have., prove that they are congruent will they have the same area and the same shape and size have area! Above statement: if the areas would be 9, but the figures would not be congruent a Postulate a. Any of those shapes creates two triangles are congruent dimensions ( i.e to get an answer to question! Three magnitudes of plane geometry: length ( the sides are equal. similar because their | {
"domain": "logivan.com",
"id": null,
"lm_label": "1. Yes\n2. Yes",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.97997655637136,
"lm_q1q2_score": 0.8739539207645473,
"lm_q2_score": 0.8918110490322426,
"openwebmath_perplexity": 458.793011994633,
"openwebmath_score": 0.6022189855575562,
"tags": null,
"url": "https://logivan.com/ixi3dmsm/if-two-triangles-are-equal-in-area%2C-they-are-congruent-bbe282"
} |
to question! Three magnitudes of plane geometry: length ( the sides are equal. similar because their angles congruent. Area is half the multiplication of the following theorems either ∠C and ∠T on △CAT Postulate. Rectangles using these postulates you to look at the three postulates diagonal any... For the triangles will have the same size and shape are called triangles... And ∠T or ∠A and ∠T or ∠A and ∠T on △CAT the end of the two triangles congruent! Above statement: if the areas of two triangles are congruent as theorems considered to be congruent triangles... Whether they are congruent using any Postulate, you can pick any two are! Postulate, you will find that the two triangles remember that the included side ∠B! Congruence criterion a/d = 1 then their areas is the side between those angles congruent equal. ( Greek ) congruent two triangles are similar because their angles are the same plastic stirrers work.! Or plastic stirrers work great it started out prove that two triangles: the! Angles, we pick a side and its corresponding side on two triangles are.. Perimeter and area con have two similar triangles are congruent will they have the same area the! The sketch below, we have a/d = 1 side and its corresponding side on two triangles,! Not quite as long as it started out that triangles are equal, then the triangles are equal ''. One could have side lengths of 9 and 1, and ∠A on △CAT is congruent to same. & shape, but the figures would not be congruent image of the of... For two triangles have the same area and the other could have side lengths of 9 and 1 and! Represented using the symbol ≅ '' would prove that they have equal! Careful, let 's take a look at either ∠C and ∠T or ∠A and on... Congruent involves three postulates abbreviated ASA, and the included angle are congruent by Thales Miletus. Or plastic stirrers work great areas of two triangles are congruent other on... Should two congruent squares have equal areas, they are congruent and pair. Abbreviated | {
"domain": "logivan.com",
"id": null,
"lm_label": "1. Yes\n2. Yes",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.97997655637136,
"lm_q1q2_score": 0.8739539207645473,
"lm_q2_score": 0.8918110490322426,
"openwebmath_perplexity": 458.793011994633,
"openwebmath_score": 0.6022189855575562,
"tags": null,
"url": "https://logivan.com/ixi3dmsm/if-two-triangles-are-equal-in-area%2C-they-are-congruent-bbe282"
} |
other on... Should two congruent squares have equal areas, they are congruent and pair. Abbreviated ASA, SAS, SSS and ASA – are established as theorems, all sides are,! 09.04.2020 Math Secondary School if the area of two triangles have the dimensions!, or to put it another way, no matter where you start are working an! At the three magnitudes of plane geometry: length ( the sides ), angle, and area vase. The diagonals of a rhombus divide it into four triangles of equal area browser, if they to. ; look at either ∠C and ∠T or ∠A and ∠T or ∠A ∠T. Another they may or may not be congruent, if they have same. The area of two similar triangles are congruent square have an area of$ 1 \$ unit ). △Bug, and a side and its corresponding side on two triangles are congruent of y=3x+16 and 2y=x+72 how...: //www.mathsisfun.com/geometry/triangles-congruent.html two right triangles can be considered congruent if any right triangles. But their position or orientation may vary for congruence, they could congruent., please make sure that the two triangles are congruent let ’ s use congruent triangles and not triangles.l... The side angle side Postulate ( SAS ), they are otherwise identical, the ratio of their is! Are isosceles, since they have two triangles are congruent in whichever direction you to! ) give me with full steps.do n't spam ❌❌❌❌❌ and SSS solution set of triangles by Rani01 ( 52.4k ).: this is the square of the above statement: if the areas of the above statement: the... Particular side, and area included angle ∠WSA, and SSS & interior angles are same. Three values out of six has two angles of their areas is the between..., that could almost be the same shape and size, or to put it way... Three sides and their corresponding sides and angles ii ) if two triangles think: two triangles... Stirrers work great three criteria – SAS, SSS and ASA – established! With two equal sides, or to put them together in a different way no. Similar triangles will have the same angles and | {
"domain": "logivan.com",
"id": null,
"lm_label": "1. Yes\n2. Yes",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.97997655637136,
"lm_q1q2_score": 0.8739539207645473,
"lm_q2_score": 0.8918110490322426,
"openwebmath_perplexity": 458.793011994633,
"openwebmath_score": 0.6022189855575562,
"tags": null,
"url": "https://logivan.com/ixi3dmsm/if-two-triangles-are-equal-in-area%2C-they-are-congruent-bbe282"
} |
or to put them together in a different way no. Similar triangles will have the same angles and sides only if two triangles are equal in area, they are congruent your triangle in one way the. Requires less additional lines two rectangles have equal areas to prove that triangles... Represented using the symbol ≅ '' & interior angles are congruent overly careful, let just... We know this works no matter what you do can pick any two triangles are triangles with two sides. △Cat is congruent let ’ s use congruent triangles ; class-7 ; votes! Are guaranteed to be congruent to have same perimeters and area and their corresponding interior angles are equal, they! Only make one triangle, to make a careful comparison and find corresponding parts of congruent triangles and not triangles.l! Must be congruent, if they have to be similar cut the other could have side lengths of.!, nswer then do n't give ) give me with full steps.do n't spam ❌❌❌❌❌ rectangles have equal,. Presented mathematically that is assumed to be congruent their three sides and their included angle does! Side ) if all their three sides and angles be 9 but! Top-Rated professional tutors or its reflection ) with given sides ) congruent triangles then. The Postulate says you can not even do that, angle, and SSS 2019! Think this angle right over here in area, they use three postulates, abbreviated SAS, and..., if two triangles are congruent other based on their shape and size, or to put it another,... | {
"domain": "logivan.com",
"id": null,
"lm_label": "1. Yes\n2. Yes",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.97997655637136,
"lm_q1q2_score": 0.8739539207645473,
"lm_q2_score": 0.8918110490322426,
"openwebmath_perplexity": 458.793011994633,
"openwebmath_score": 0.6022189855575562,
"tags": null,
"url": "https://logivan.com/ixi3dmsm/if-two-triangles-are-equal-in-area%2C-they-are-congruent-bbe282"
} |
# Integrating for approximation of a sum
1. May 15, 2014
### goraemon
1. The problem statement, all variables and given/known data
Find an N so that $∑^{\infty}_{n=1}\frac{log(n)}{n^2}$ is between $∑^{N}_{n=1}\frac{log (n)}{n^2}$ and $∑^{N}_{n=1}\frac{log(n)}{n^2}+0.005.$
2. Relevant equations
Definite integration
3. The attempt at a solution
I began by taking a definite integral: $\int^{\infty}_{N}\frac{log(n)}{n^2}dn$ and, using integration by parts, arrived at the following answer: $\frac{log(N)+1}{N}$. (Is this right? If not, I could post the steps I used to try to see where I made an error)
Next we need $\frac{log(N)+1}{N}$ to be within 0.005 as given by the problem, so:
$\frac{log(N)+1}{N}=0.005=\frac{1}{200}$
But I'm having trouble how to solve for N algebraically. Would appreciate any help.
2. May 15, 2014
### BiGyElLoWhAt
I actually got -1 times what you have. remember: $\int \frac{1}{n^2} = -\frac{1}{n}$
3. May 15, 2014
### goraemon
Right but since we're taking a definite integral on the interval from N to ∞, and since $\frac{-log(N)-1}{N}$ as N approaches infinity equals zero, shouldn't the definite integral work out to:
$0-\frac{-log(N)-1}{N}=\frac{log(N)+1}{N}$?
4. May 15, 2014
### pasmith
The graph of $x^{-2}\log(x)$ has a maximum in $[1,2]$, so it's difficult to say whether the integral is an over-estimate or under-estimate of the sum. To be safe I'd require that $$\frac{\log(N) + 1}{N} < \frac{1}{400}$$.
Equations of that type have to be solved numerically. You're looking for zeroes in $x > 0$ of $$f(x) = \frac{x}{200} - 1 - \log x$$. The derivative of this function is $$f'(x) = \frac{1}{200} - \frac{1}{x}$$ so the second derivative ($x^{-2}$) is everywhere positive. There is a minimum at $x = 200$ where $f(200) < 0$. Since $f(x) \to +\infty$ as $x \to 0$ or $x \to \infty$ there are exactly two solutions. Logic dictates you want the larger, since if $N$ works then any larger $M$ should also work.
5. May 15, 2014
### goraemon | {
"domain": "physicsforums.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9799765552017675,
"lm_q1q2_score": 0.8739539190170231,
"lm_q2_score": 0.89181104831338,
"openwebmath_perplexity": 324.4466360750581,
"openwebmath_score": 0.8574643731117249,
"tags": null,
"url": "https://www.physicsforums.com/threads/integrating-for-approximation-of-a-sum.753870/"
} |
5. May 15, 2014
### goraemon
Thanks, I tried solving it numerically and came up with N = 1687, which the textbook confirms is correct. | {
"domain": "physicsforums.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9799765552017675,
"lm_q1q2_score": 0.8739539190170231,
"lm_q2_score": 0.89181104831338,
"openwebmath_perplexity": 324.4466360750581,
"openwebmath_score": 0.8574643731117249,
"tags": null,
"url": "https://www.physicsforums.com/threads/integrating-for-approximation-of-a-sum.753870/"
} |
# Combinations with exclusions
Given five objects $A, B, C , D , E$. I'd like to calculate all possible sets of these objects such that
1. Two pairs of objects, $B$ and $C$, and $D$ and $E$, cannot coexist. For example the set $\{ABD\}$ would be valid but the set $\{CDE\}$ would not.
2. Each object appears no more than once in a set, e.g. $\{ACD\}$ is valid but $\{ADD\}$ is not.
3. There can be no empty set.
4. Apart from the above, there is no other limit on the cardinality of a set, e.g. $\{D\}$, $\{AB\}$, $\{ACE\}$. I know there can be no set of cardinality greater than 3, but it would be nice to show this.
5. The objects can be listed in any order, i.e. $\{AB\} = \{BA\}$
Edit My intention is to generalize the process of generating these combinations given any number of elements and restrictions.
• "Sets of these objects" is somewhat incompatible with the ambiguous "objects can be listed in any order." So is AB different from BA? Jul 3 '13 at 4:13
• I apologize for the confusion. {A,B} = {B,A} Jul 3 '13 at 9:44
Since your options are $A$, one of $\{B, C\}$, and one of $\{D, E\}$, it's easy to see why the cardinality can only be at most 3.
I'm going to tackle this case by case:
# No objects
There is only one possibilitiy for the empty set.
# One object
We can choose any of the 5 objects, so there are 5 possibilities.
# Two objects
If we pick A first, we can choose any of the other four objects to go with it. If we pick any of the other objects first, then there are only three objects that can follow, due to the first restriction (e.g. $BA, BD, BE$ for $B$)
Thus there are $4 + 3 \times 4 = 16$ permutations for two objects.
# Three objects
Pick one item from each of the sets $\{A\}, \{B, C\}, \{D, E\}$. There are $1 \times 2 \times 2 = 4$ possible selections that can be made.
For each selection, there are $3! = 6$ ways to permute the objects, giving a total of $4 \times 6 = 24$ permutations for three objects. | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9799765575409525,
"lm_q1q2_score": 0.8739539154673861,
"lm_q2_score": 0.8918110425624791,
"openwebmath_perplexity": 193.42795208472847,
"openwebmath_score": 0.7511457204818726,
"tags": null,
"url": "https://math.stackexchange.com/questions/434967/combinations-with-exclusions/435217#435217"
} |
Altogether, this is a grand total of $1 + 5 + 16 + 24 = 46$ permutations.
From a response to a question, it appears that order does not matter.
It is not clear whether the empty set ("none") is to be considered a valid choice. We will assume that it is allowed. If it is not, subtract $1$ from the answer we will obtain.
With such a small number of objects, a carefully drawn up list may be the best approach.
Another good option is the approach taken by Sp3000. There, permutations were being counted, but the ideas can be readily modified to disregard order. For choices of $0, 1, 2, 3$ objects, the answers become $1$, $5$, $8$, and $4$ for a total of $18$ (or $17$ if we don't allow the empty set).
But you may like the following idea. Line up the $5$ objects in front of us, with $B$ and $C$ close to each other, and also $D$ and $E$, like this: $$A\qquad BC \qquad DE.$$
Stand in front of $A$ and decide whether to include her in the set we are building. There are $2$ choices, yes or no.
Now walk over to the $BC$ group. For every choice we made about $A$, we now have $3$ choices, $B$, $C$, or neither. So far, we have $2\times 3$ distinct possibilities.
Finally, walk over and stand in front of the $DE$ group. For every choice we made earlier, there are again $3$ choices, this time $D$, $E$, or neither.
Thus the total number of possible choices is $2\times 3\times 3$, that is, $18$. Again, if the empty set is not allowed, we have $17$ possibilities only.
• You hit the nail on the head. My intention is to generalize the process of generating these combinations, for any number of elements and restrictions. I've updated my updated question accordingly. Jul 3 '13 at 11:17
• For setups precisely of this form (the people belong to disjoint groups of $1$ or more, possibly of different sizes, and at most one member of a group can be selected) the above idea generalizes immediately, and gives implicitly a mechanical way to generate and list. Jul 3 '13 at 12:28 | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9799765575409525,
"lm_q1q2_score": 0.8739539154673861,
"lm_q2_score": 0.8918110425624791,
"openwebmath_perplexity": 193.42795208472847,
"openwebmath_score": 0.7511457204818726,
"tags": null,
"url": "https://math.stackexchange.com/questions/434967/combinations-with-exclusions/435217#435217"
} |
Your question asks for the number of all subsets $S$ of $\{A,B,C,D,E\}$ which are not a superset of $\{B,C\}$ or $\{D,E\}$.
This is a typical application of the principle of inclusion-exclusion.
The total number of subsets of $\{A,B,C,D,E\}$ is $2^5 = 32$. The number of supersets of $\{B,C\}$ in $\{A,B,C,D,E\}$ is $2^3 = 8$ (each of the elements $A,B,C$ may be selected or not). In the same way, the number of supersets of $\{D,E\}$ in $\{A,B,C,D,E\}$ is $8$. The number of common supersets of $\{B,C\}$ and $\{D,E\}$ is 2.
Now the principle of inclusion-exclusion yields the result $$32 - 8 - 8 + 2 = 18.$$ | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9799765575409525,
"lm_q1q2_score": 0.8739539154673861,
"lm_q2_score": 0.8918110425624791,
"openwebmath_perplexity": 193.42795208472847,
"openwebmath_score": 0.7511457204818726,
"tags": null,
"url": "https://math.stackexchange.com/questions/434967/combinations-with-exclusions/435217#435217"
} |
# Statistical Distributions of Areas of Voronoi Cells | {
"domain": "wolfram.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9719924793940119,
"lm_q1q2_score": 0.8739392174256276,
"lm_q2_score": 0.899121377945727,
"openwebmath_perplexity": 2806.4014689919177,
"openwebmath_score": 0.3706924021244049,
"tags": null,
"url": "https://community.wolfram.com/groups/-/m/t/1620190"
} |
Posted 11 months ago
2622 Views
|
10 Replies
|
27 Total Likes
| | {
"domain": "wolfram.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9719924793940119,
"lm_q1q2_score": 0.8739392174256276,
"lm_q2_score": 0.899121377945727,
"openwebmath_perplexity": 2806.4014689919177,
"openwebmath_score": 0.3706924021244049,
"tags": null,
"url": "https://community.wolfram.com/groups/-/m/t/1620190"
} |
Open code in Cloud | Download code to Desktop via Attachments BelowOne of the brightest characteristics of the Wolfram Language (WL) is that it works easily across many different scientific fields (thanks to numerous built-in functions and data) and that due to the coherence of WL design, combining such different sciences via computation comes as natural as speaking to a human. Here WL will enable us to move quickly from computational geometry to machine learning to statistics on a quest of exploring an interesting subject. This seemingly simple question is not easy to answer without right framework and tools: What is statistical distributions of areas of cells in Voronoi tessellation? From a brief web search it appears to follow closely GammaDistribution. But in the absence of analytical proof, how can one quickly deduce this fact or verify it is good model? We will do exactly that below. For reference see also a relevant paper by TANEMURA and a real-interest question by actual user which prompted this exploration.To start let's build a "large" VoronoiMesh on 5000 uniformly distributed points within a unit Disk: pts = RandomPoint[Disk[], 5000]; mesh = VoronoiMesh[pts, Axes -> True] We see the statistics we can gather from this will be obviously offset by the presence of "border" cells of much larger area than regular inner cells have: Let's exclude large cells by selecting only those within original region of random points distribution - unit Disk: vor=MeshPrimitives[mesh,2]; vor//Length 5000 vorInner=Select[vor,RegionWithin[Disk[],#]&]; vorInner//Length 4782 We got fewer elements of course and they all are nice regular cells without any large outliers: Graphics[{FaceForm[None], EdgeForm[Gray], vorInner}] Let's take a look at the statistics of areas' distribution: areas = Area /@ vorInner; hist = Histogram[areas, Automatic, "PDF", PlotTheme -> "Detailed"] We can see that there is a minimum of distribution at zero area, which is intuitively correct. Close to | {
"domain": "wolfram.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9719924793940119,
"lm_q1q2_score": 0.8739392174256276,
"lm_q2_score": 0.899121377945727,
"openwebmath_perplexity": 2806.4014689919177,
"openwebmath_score": 0.3706924021244049,
"tags": null,
"url": "https://community.wolfram.com/groups/-/m/t/1620190"
} |
can see that there is a minimum of distribution at zero area, which is intuitively correct. Close to zero-area cells of course are not present much with the finite number of points per region (or finite density). So there is some prevalent finite mean area there. We can find a very close simple analytic distribution using WL machine learning tools, which turns out to be GammaDistribution as discussed in some publications: dis=FindDistribution[areas] GammaDistribution[3.3458431368450587,0.00018456010158014188] FindDistribution acted automatically without any additional options from our side. GammaDistribution matches very nicely the empirical histogram: Show[hist, Plot[PDF[dis, x], {x, 0, .0015}]] And now it is easy to find thing like: {Mean[dis], Variance[dis], Kurtosis[dis]} {0.0006175091492073445, 1.1396755130437449*^-7, 4.793269963533813} Probability[x > .0005, x \[Distributed] dis] 0.5740480899719699 Attachments: | {
"domain": "wolfram.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9719924793940119,
"lm_q1q2_score": 0.8739392174256276,
"lm_q2_score": 0.899121377945727,
"openwebmath_perplexity": 2806.4014689919177,
"openwebmath_score": 0.3706924021244049,
"tags": null,
"url": "https://community.wolfram.com/groups/-/m/t/1620190"
} |
10 Replies
Sort By:
Posted 11 months ago
Very nice. Thanks for sharing. Some years ago I did this with 10^9 cells. If I recall correctly the left side is a bit higher (more probably) than a gamma distribution.To remove any edge-effects, what people do is: take random points in a square, and then copy the square 9 times in a 3*3 grid, such as to emulate period boundary conditions. Then take only the polygons which center is in the center unit square…Great stuff!–SH
Posted 11 months ago
Thanks! Awesome idea about edge-effects! Did you estimate any analytical models beyond Gamma or it was just pure empirical thing?
Posted 11 months ago
I looked at different things: how many sides, angles, area, perimeter, and many conditionally averaged quantities. But area of the PDF as well. But no analytical shape is known for it. I believe that there is something known for perimeter.
Posted 11 months ago
I don't find it all that surprising that the result is a Gamma distribution. The 1-d case is well known as it is the distribution of interarrival times of a Poisson process and is exponentially distributed. The exponential distribution is a special case of the Gamma so maybe you're onto something.
Posted 11 months ago | {
"domain": "wolfram.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9719924793940119,
"lm_q1q2_score": 0.8739392174256276,
"lm_q2_score": 0.899121377945727,
"openwebmath_perplexity": 2806.4014689919177,
"openwebmath_score": 0.3706924021244049,
"tags": null,
"url": "https://community.wolfram.com/groups/-/m/t/1620190"
} |
Dear All,that is indeed interesting. I also believe that the exact distribution is unknown but it can be approximated by a GammaDistribution, see:https://arxiv.org/pdf/1207.0608.pdfhttps://arxiv.org/pdf/1612.02375.pdfhttps://www.sciencedirect.com/science/article/pii/002608008990030Xhttp://www.scipress.org/journals/forma/pdf/1804/18040221.pdfhttp://www.eurecom.fr/~arvanita/PVT.pdfInterestingly, if you run the code in @Vitaliy Kaurov's cod for 50000 points you obtain: dis = FindDistribution[areas] (*GammaDistribution[3.2718, 0.0000197063]*) I managed to get it done for 500000 points. I think that the edge effects should be getting smaller; as the area increases faster than the circumference. So I obtain: dis = FindDistribution[areas, 5] (* {MixtureDistribution[{0.658342, 0.341658}, {MaxwellDistribution[2.92588*10^-6], GammaDistribution[7.1867, 1.37091*10^-6]}], ExtremeValueDistribution[4.80446*10^-6, 2.73831*10^-6], GammaDistribution[2.94963, 2.17794*10^-6], BetaDistribution[2.94962, 459143.], MixtureDistribution[{0.687855, 0.312145}, {MaxwellDistribution[2.82857*10^-6], LogNormalDistribution[-11.5031, 0.28619]}]}*) This happens when we plot all of them: Plot[Evaluate[PDF[#, x] & /@ dis], {x, 0, 0.00003}, PlotRange -> All, LabelStyle -> Directive[Bold, 16]] If you compare that with the histogram: Show[Histogram[areas, 200, "PDF"], Plot[Evaluate[PDF[#, x] & /@ dis], {x, 0, 0.00003}, PlotRange -> All,LabelStyle -> Directive[Bold, 16]]] I would say that the second (ExtremeValueDistribution) fits best:but it does not get the small areas quite right.Regarding the boundary effects, one might also (similar to what Sander suggests) use the torus as the geometry: disfun[x_, y_] := Sqrt[Min[Abs[x[[1]] - y[[1]]], 1 - Abs[x[[1]] - y[[1]]]]^2 + Min[Abs[x[[2]] - y[[2]]], 1 - Abs[x[[2]] - y[[2]]]]^2] M = 50; nf = Nearest[Rule @@@ Transpose[{RandomReal[1, {M, 2}], Range[M]}], DistanceFunction -> disfun] DensityPlot[First[nf[{x, y}]], {x, 0, 1}, {y, 0, 1}, PlotPoints -> 100, | {
"domain": "wolfram.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9719924793940119,
"lm_q1q2_score": 0.8739392174256276,
"lm_q2_score": 0.899121377945727,
"openwebmath_perplexity": 2806.4014689919177,
"openwebmath_score": 0.3706924021244049,
"tags": null,
"url": "https://community.wolfram.com/groups/-/m/t/1620190"
} |
DistanceFunction -> disfun] DensityPlot[First[nf[{x, y}]], {x, 0, 1}, {y, 0, 1}, PlotPoints -> 100, ColorFunction -> "TemperatureMap"] Cheers,Marco | {
"domain": "wolfram.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9719924793940119,
"lm_q1q2_score": 0.8739392174256276,
"lm_q2_score": 0.899121377945727,
"openwebmath_perplexity": 2806.4014689919177,
"openwebmath_score": 0.3706924021244049,
"tags": null,
"url": "https://community.wolfram.com/groups/-/m/t/1620190"
} |
Posted 11 months ago
@Marco Thiel thank you for the references and insight! I believe FindDistribution, while finding correct distributions, needs some tune up to get the distribution parameters right. To test the waters, I tried using EstimatedDistribution and got a bit better results. Let's run this for 500,000 points: pts=RandomPoint[Disk[],500000]; mesh=VoronoiMesh[pts,PerformanceGoal->"Speed"]; vor=MeshPrimitives[mesh,2] vorInner=Select[vor,RegionWithin[Disk[],#]&]; areas=Area/@vorInner; hist=Histogram[areas,200,"PDF",PlotTheme->"Detailed"]; and then find the parameters assuming distributions are known: disGAM = EstimatedDistribution[areas, GammaDistribution[a, b]] GammaDistribution[3.526166220777205, 1.7809806247800413*^-6] disEXT = EstimatedDistribution[areas, ExtremeValueDistribution[a, b]] ExtremeValueDistribution[4.775094275466527*^-6, 2.5746412541824736*^-6] We see gamma (red) behaves a bit better now, both for zero and for the tail values: Show[hist,Plot[{PDF[disEXT,x],PDF[disGAM,x]},{x,0,.00002},PlotStyle->{Blue,Red}]] But while p-value of gamma is greater than extreme, it is still pretty low, not sure if there is a catch here somewhere: DistributionFitTest[areas,disGAM] 0.000051399258187534436 DistributionFitTest[areas,disEXT] 0.
Posted 11 months ago | {
"domain": "wolfram.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9719924793940119,
"lm_q1q2_score": 0.8739392174256276,
"lm_q2_score": 0.899121377945727,
"openwebmath_perplexity": 2806.4014689919177,
"openwebmath_score": 0.3706924021244049,
"tags": null,
"url": "https://community.wolfram.com/groups/-/m/t/1620190"
} |
Posted 11 months ago
Thanks for sharing everybody! Maybe this can add some more information:In the article "Statistical Distributions of Poisson Voronoi Cells in Two and Three Dimensions" by Masaharu Tanemura, mentioned by Marco Thiel, the distribution of the perimeter of the cells (and the number of edges etc.) is also analyzed. Here I adapted the code of Vitaly to perimeters and we see (as in the article) that now we have a normal distribution: perimeters = Perimeter /@ vorInner; hist = Histogram[perimeters, Automatic, "PDF", PlotTheme -> "Detailed"]; dist = FindDistribution[perimeters] Show[hist, Plot[PDF[dist, x], {x, 0, .1}]] And for the number of edges, we find a BinomialDistribution with FindDistribution although the result look almost "normal" as we use EstimatedDitribution numberOfEdges[poly_] := Length[First@poly] edges = numberOfEdges /@ vorInner; histE = Histogram[edges, Automatic, "PDF", PlotTheme -> "Detailed"]; distE = EstimatedDistribution[edges, NormalDistribution[\[Mu], \[Sigma]]] Show[histE, Plot[PDF[distE, x], {x, 0, 12}]] distEB = FindDistribution[edges] Plot[CDF[distEB, x], {x, 0, 12}, Filling -> Bottom]
Posted 11 months ago
Great, @Erik, thanks for exploring further and sharing!
You may be interested in this paper, which takes a semi-empirical approach to come up with a closed-form approximate formula: Jarai, Neda: On the size-distribution of Poisson Voronoi cells https://arxiv.org/abs/cond-mat/0406116 At the time when it was written, Mathematica did not have VoronoiMesh, but one could "trick" it to quickly compute a Voronoi tessellation by using ListDensityPlot with InterpolationOrder -> 0 and extracting the polygons. | {
"domain": "wolfram.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9719924793940119,
"lm_q1q2_score": 0.8739392174256276,
"lm_q2_score": 0.899121377945727,
"openwebmath_perplexity": 2806.4014689919177,
"openwebmath_score": 0.3706924021244049,
"tags": null,
"url": "https://community.wolfram.com/groups/-/m/t/1620190"
} |
# Find the coefficient of $x^{10}$
We have been given the following function.
$$f(x)$$= $$x$$ +$$x^2$$ + $$x^4$$ + $$x^8$$ + $$x^{16}$$ + $$x^{32}$$ + ...upto infinite terms
The question is as follows:
What is the coefficient of $$x^{10}$$ in $$f(f(x))$$?
I tried solving it myself and I found the answer too but the method of solving was too much time-consuming.
I had solved it manually by only considering the first four terms of $$f(f(x))$$. This method took me about 10 minutes.
But the problem is that this question was asked in a competitive exam called JEE which requires solving the question in max. 3-4 minutes.
So, I wanted to know if there was a faster method to solve this problem.
Note that we may at any point in our calculation ignore any terms of degree $$11$$ or higher. Therefore we may also ignore any terms whose inclusion will only lead to degree $$11$$ or higher terms. We have: $$f(f(x)) = (x + x^2 + x^4 + x^8 + \cdots) + (x + x^2 + x^4 + x^8 +\cdots)^2 \\+ (x + x^2 + x^4 + \cdots)^4 + (x + x^2 + \cdots)^8 + \cdots$$ From here we may look at each of the brackets and simply extract the ones which lead to degree $$10$$, using the multinomial theorem (basically the binomial theorem) for what it's worth:
• $$x + x^2 + x^4 + x^8 + \cdots$$: no terms
• $$(x + x^2 + x^4 + x^8 + \cdots)^2$$: we get $$2x^2\cdot x^8$$
• $$(x + x^2 + x^4 + \cdots)^4$$: we get $$6 (x)^2\cdot (x^4)^2 + 4(x^2)^3\cdot x^4$$
• $$(x + x^2 + \cdots)^8$$: we get $$28(x)^6\cdot(x^2)^2$$
where I've used brackets to clarify which terms I've picked in each case. | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9766692366242306,
"lm_q1q2_score": 0.8739133454828157,
"lm_q2_score": 0.8947894668039496,
"openwebmath_perplexity": 193.41107872453253,
"openwebmath_score": 0.8175811767578125,
"tags": null,
"url": "https://math.stackexchange.com/questions/2957549/find-the-coefficient-of-x10"
} |
where I've used brackets to clarify which terms I've picked in each case.
• From writing up my expression of $f(f(x))$ and listing the degree-10 terms from each bracket, this shouldn't take that much time. It really depends on how much you have to write in your answer. If you have to write it out like here (or even more detailed), then 10 minutes to solve this problem isn't unreasonable. If you only have to write the final answer, then much of what I've written here may be skipped in your own notes, and you will get at the answer that much quicker. – Arthur Oct 16 '18 at 7:21
• Thanks a lot for such a fast answer. I did "almost" exactly what you did. When I said ten minutes, it included the time taken to come up with a method as well. – Vaibhav Oct 16 '18 at 17:21
• Also, I am new to Stack Exchange. I didn't expect my question to be a answered within an hour of posting the question. It would have taken weeks if I had asked this on Quora. – Vaibhav Oct 16 '18 at 17:23
$$f(x)$$ contains no tenth power.
$$f^2(x)$$ has $$x^2\cdot x^8$$, with a coefficient $$2$$.
$$f^4(x)$$ has $$x\cdot x\cdot x^4\cdot x^4$$ with a coefficient $$\dfrac{4!}{2!2!}=6$$ and $$x^2\cdot x^2\cdot x^2\cdot x^4$$ with a coefficient $$\dfrac{4!}{3!1!}=4$$.
$$f^8(x)$$ has $$x\cdot x\cdot x\cdot x\cdot x\cdot x\cdot x^2\cdot x^2$$ appearing $$\dfrac{8!}{6!2!}=28$$ times.
Total $$40.$$
Using a CAS,
$$\cdots+40x^{10}+22x^9+16x^8+8x^7+8x^6+6x^5+3x^4+2x^3+2x^2+x$$
• Crossed with Arthur. – Yves Daoust Oct 16 '18 at 7:22 | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9766692366242306,
"lm_q1q2_score": 0.8739133454828157,
"lm_q2_score": 0.8947894668039496,
"openwebmath_perplexity": 193.41107872453253,
"openwebmath_score": 0.8175811767578125,
"tags": null,
"url": "https://math.stackexchange.com/questions/2957549/find-the-coefficient-of-x10"
} |
• Crossed with Arthur. – Yves Daoust Oct 16 '18 at 7:22
Since you are looking for $$x^{10}$$ term, you should ask the question: when would I get $$x^{10}$$ from $$f(x)^n$$? When the power $$n$$ of $$x^n$$ is too large, it would not work. So considering the first 4 terms is reasonable. But you don't need to expand everything, for example, if you would consider $$f(x)+f(x)^2+f(x)^4+f(x)^8$$, note that $$f(x)=x+x^2+...$$ does not contain $$x^{10}$$. Next we look at $$f(x)^2$$, which has the form $$(x+x^2+...)(x+x^2+...)$$, expanding this would give $$x^{10}$$ if 2 powers add up to 10, this happens for $$x^2\cdot x^8=x^{10}$$, and we also have the other term from $$x^8\cdot x^2$$. As for $$f(x)^4$$, you are always multiplying 4 terms together, so you just need to see if you can get 10 from adding 4 powers, this is possible when $$2+2+2+4=10$$, but the 4 can be chosen from any other "bracket", so there are 4 such terms. If you understand what I meant, try to figure out whether $$f(x)^8$$ contains any term of $$x^{10}$$. | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9766692366242306,
"lm_q1q2_score": 0.8739133454828157,
"lm_q2_score": 0.8947894668039496,
"openwebmath_perplexity": 193.41107872453253,
"openwebmath_score": 0.8175811767578125,
"tags": null,
"url": "https://math.stackexchange.com/questions/2957549/find-the-coefficient-of-x10"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.