text stringlengths 1 2.12k | source dict |
|---|---|
of a parallelogram are perpendicular to each other, but are not congruent to each other, then the parallelogram is which of the following? One pair of diagonally opposite angles is equal in measurement. *Response times vary by subject and question complexity. What is the measure of a base angle of an isosceles triangle if … If all four sides of a parallelogram are equal in length, then the parallelogram is called a rhombus. The diagonals are perpendicular bisectors of each other. A.) P P 5. Every square is a rhombus. (A) Square (B) Rectangle (C) Rhombus (D) Parallelogram HARD. . First Name. 5. The diagonals of a parallelogram bisect each other. B. Slope: Method 2: Show that the diagonals are congruent. If the diagonals of a parallelogram are equal, then it is a rectangle; If the diagonals of a parallelogram are perpendicular to each other, then it is a rhombus; If the diagonals of a parallelogram are equal and perpendicular, then it is a square ∵ In a parallelogram, its diagonals bisect each other at right angles ∴ Its diagonals are perpendicular A parallelogram with diagonals that are congruent and perpendicular is a [ Select) A parallelogram with diagonals that are perpendicular, but not always congruent, is a Select] if one diagonal of a parallelogram _____ a pair of opposite angles, then the parallelogram is a rhombus. In Δ A O D and Δ A O B. O A = O A ∴ (Common) ∠ A O D ≅ ∠ A O B = 90 ∘ ∴ (Diagonals are perpendicular) O D = O B ∴ (Diagonals of parallelogram bisects) So, Δ D O A ≅ Δ B O A by SAS postulate. In Δ A O D and Δ A O B. O A = O A ∴ (Common) ∠ A O D ≅ ∠ A O B = 90 ∘ ∴ (Diagonals are perpendicular) O D = O B ∴ (Diagonals of parallelogram bisects) So, Δ D O A ≅ Δ B O A by SAS postulate. Proving a Quadrilateral is a Rhombus Method 1: Prove that the diagonals are perpendicular. Play this game to review Geometry. if the diagonal of a parallelogram bisects one of the angles of parallelogram, prove that it also bisects the second angle and then the two | {
"domain": "thinkandstart.com",
"id": null,
"lm_label": "1. Yes\n2. Yes\n\n",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9838471632833943,
"lm_q1q2_score": 0.8681741653815287,
"lm_q2_score": 0.8824278788223264,
"openwebmath_perplexity": 404.38305370460273,
"openwebmath_score": 0.6866893172264099,
"tags": null,
"url": "https://thinkandstart.com/menace-ii-oqcpwq/if-the-diagonals-of-a-parallelogram-are-perpendicular-3f40df"
} |
one of the angles of parallelogram, prove that it also bisects the second angle and then the two diagonals are perpendicular to each other - Math - Quadrilaterals By completing the parallelogram and using the parallelogram rule, the diagonal represents the sum of the two original forces f1 + f2. asked Sep 22, 2018 in Class IX Maths by muskan15 ( -3,443 points) quadrilaterals Question 392003: 1.how to prove if the diagonals in a parallelogram are perpendicular, then the parallelogram is a rhombus. Calculator computes the diagonals of a parallelogram and adjancent angles from side lengths and angle. Yes, because the diagonals of a rhombus, which is a parallelogram, are perpendicular. 4. Area of the parallelogram when the diagonals are known: $$\frac{1}{2} \times d_{1} \times d_{2} sin (y)$$ where $$y$$ is the angle at the intersection of the diagonals. Respond to this Question. a rhombus. If the diagonals of a quadrilateral are perpendicular bisectors of each other, then it is a rhombus. Your Response. The diagonals are perpendicular bisectors of each other. So we're going to assume that the two diagonals are bisecting each other. Show that the diagonals of a parallelogram are perpendicular if and only if it is a rhombus, i.e., its four sides have equal lengths. If a parallelogram has perpendicular diagonals, you know it is a rhombus. A Parallelogram with Perpendicular Diagonals is a Rhombus. Figure is made having diagonals AC and BD. 2. how to prove if the diagonals in a paralellogram are congruent, then the parallelogram is a rectangle Answer by Edwin McCravy(18405) (Show Source): You can put this solution on YOUR website! If the diagonals of a parallelogram are perpendicular, then it’s a rhombus (neither the reverse of the definition nor the converse of a property). B is out. If the diagonals of a parallelogram are perpendicular, then the parallelogram is also called a rhombus. If the diagonals of a parallelogram are perpendicular, then the parallelogram is a | {
"domain": "thinkandstart.com",
"id": null,
"lm_label": "1. Yes\n2. Yes\n\n",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9838471632833943,
"lm_q1q2_score": 0.8681741653815287,
"lm_q2_score": 0.8824278788223264,
"openwebmath_perplexity": 404.38305370460273,
"openwebmath_score": 0.6866893172264099,
"tags": null,
"url": "https://thinkandstart.com/menace-ii-oqcpwq/if-the-diagonals-of-a-parallelogram-are-perpendicular-3f40df"
} |
called a rhombus. If the diagonals of a parallelogram are perpendicular, then the parallelogram is a rhombus. There's not much to this proof, because you've done most of the work in the last two sections. Special parallelograms. Here’s a rhombus proof for you. No, because in an isosceles trapezoid the sides that are not parallel are equal. Theorem 16.8: If the diagonals of a parallelogram are congruent and perpendicular, the parallelogram is a square. Choose an expert and meet online. Is this statement true? Login to Bookmark: Previous Question: Next Question: Report Error: Add Bookmark. {{courseNav.course.mDynamicIntFields.lessonCount}} lessons Study.com has thousands of articles about every Generally, the parallelogram law is applied when the vectors are co-initial, that is, their initial points are joined. No, because in an isosceles trapezoid the sides that are not parallel are equal. We are given that all four angles at point E are 9 0 0 and are therefore congruent. Calculator computes the diagonals of a parallelogram and adjancent angles from side lengths and angle. If the diagonals are congruent than the parallelogram … Every rhombus is a square. Give reason for your ans… Get the answers you need, now! Which statement is true? Yes, because a rhombus has two sets of parallel sides and all sides are congruent. If the diagonals of a parallelogram are perpendicular, what can you conclude about the parallelogram? 10. If the diagonals of a quadrilateral are perpendicular to each other,it is a square but it is a rhombus as diagonals of rhombus are also perpendicular. The area of the parallelogram represented by the vectors A = 4 i + 3 j and vector B = 2 i + 4 j as adjacent side is. If the diagonals of a parallelogram are perpendicular to each other, but are not congruent to each other, then the parallelogram is which of the following? A kite is never a parallelogram. All rectangles are parallelograms. Remember a square is a special rectangle with all side lengths | {
"domain": "thinkandstart.com",
"id": null,
"lm_label": "1. Yes\n2. Yes\n\n",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9838471632833943,
"lm_q1q2_score": 0.8681741653815287,
"lm_q2_score": 0.8824278788223264,
"openwebmath_perplexity": 404.38305370460273,
"openwebmath_score": 0.6866893172264099,
"tags": null,
"url": "https://thinkandstart.com/menace-ii-oqcpwq/if-the-diagonals-of-a-parallelogram-are-perpendicular-3f40df"
} |
All rectangles are parallelograms. Remember a square is a special rectangle with all side lengths equivalent however we have no information regarding the side lengths of this problem. Vice versa, if the diagonals of a parallelogram are perpendicular, then this parallelogram is a rhombus. The diagonals meet each other at 90°, this means that they form a perpendicular bisection. If the diagonals of a parallelogram are perpendicular then the parallelogram is from SCI 102 at Cristóbal Colón University Is this statement true? These angles are said to be congruent with each other. Therefore, parallelogram ABCD is rhombus. Back to Basic Ideas page. The diagonals of a parallelogram bisect each other. Consecutive angles are supplementary. c.square. One pair of diagonally opposite angles is equal in measurement. Proof: Rhombus diagonals are perpendicular bisectors. Answer. Yes, because the diagonals of a rhombus, which is a parallelogram, are perpendicular. Since the diagonals of a parallelogram bisect each other, B E and D E are congruent and A E is congruent to itself. Special parallelograms. D. Every parallelogram is a rectangle. D. Parallelogram. Theorems concerning quadrilateral properties. Properties of a Parallelogram. A link to the app was sent to your phone. Most questions answered within 4 hours. If a _____ is a rhombus, then it is a parallelogram. ToProve : if the diagonals of parallelograms are perpendicular, then the parallelogram is a rhombus.. These properties concern its sides, angles, and diagonals. A parallelogram with four congruent sides and four right angles. If ABCD is a parallelogram, what is the length of BD? EASY. -If a parallelogram has at least 2 consecutive congruent sides then it is a rhombus(Def,)-If a parallelogram has perpendicular diagonals then it is a rhombus-If a parallelogram has diagonals that are perpendicular bisectors of each other then it is a rhombus-If a quadrilateral has 4 congruent sides then it is a rhombus-If a quadrilateral is | {
"domain": "thinkandstart.com",
"id": null,
"lm_label": "1. Yes\n2. Yes\n\n",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9838471632833943,
"lm_q1q2_score": 0.8681741653815287,
"lm_q2_score": 0.8824278788223264,
"openwebmath_perplexity": 404.38305370460273,
"openwebmath_score": 0.6866893172264099,
"tags": null,
"url": "https://thinkandstart.com/menace-ii-oqcpwq/if-the-diagonals-of-a-parallelogram-are-perpendicular-3f40df"
} |
it is a rhombus-If a quadrilateral has 4 congruent sides then it is a rhombus-If a quadrilateral is both a rectangle and a rhombus then it is a square.(Def.) If the diagonals of a quadrilateral are perpendicular to each other,it is a square but it is a rhombus as diagonals of rhombus are also perpendicular. For each such a triangle, the legs are 6/2 = 3 units and 8/2 = 4 units; hence, the sides of the rhombus are = 5 units long, and its perimeter is 5*4 = 20 units. 3. a.rectangle b.rhombus c.square d.trapezoid 11. The properties of the parallelogram are simply those things that are true about it. The diagonals of parallelograms are perpendicular. For a rhombus, where all the sides are equal, we've shown that not only do they bisect each other but they're perpendicular bisectors of each other. Thus you have a rhombus. Related Videos. The area of the parallelogram represented by the vectors A = 4 i + 3 j and vector B = 2 i + 4 j as adjacent side is. For Free, Inequalities and Relationship in a Triangle, ALL MY GRADE 8 & 9 STUDENTS PASSED THE ALGEBRA CORE REGENTS EXAM. Diagonals of Quadrilaterals -- Perpendicular, Bisecting or Both. So we've just proved-- so this is interesting. Play this game to review Geometry. Diagonals of a parallelogram are perpendicular to each other. 4. Let's prove to ourselves that if we have two diagonals of a quadrilateral that are bisecting each other, that we are dealing with a parallelogram. Assuming vectors A and B are two adjacent sides of a parallelogram; a quick disproof of rhombus would be $|A|\neq|B|$. 1 decade ago. A) rhombus : B) rectangle : C) quadrilateral : D) none of these : Correct Answer: A) rhombus : Part of solved Quadrilateral and parallelogram questions and answers : >> Elementary Mathematics >> Quadrilateral and parallelogram. No, diagonals of a parallelogram are not perpendicular to each other, because they only bisect each other. So we're assuming that that is equal to that and that that right over there is equal to | {
"domain": "thinkandstart.com",
"id": null,
"lm_label": "1. Yes\n2. Yes\n\n",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9838471632833943,
"lm_q1q2_score": 0.8681741653815287,
"lm_q2_score": 0.8824278788223264,
"openwebmath_perplexity": 404.38305370460273,
"openwebmath_score": 0.6866893172264099,
"tags": null,
"url": "https://thinkandstart.com/menace-ii-oqcpwq/if-the-diagonals-of-a-parallelogram-are-perpendicular-3f40df"
} |
each other. So we're assuming that that is equal to that and that that right over there is equal to that. B. Rectangles have congruent diagonals, but they are not perpendicular. please follow me and mark as brainliest If the diagonals are congruent and are perpendicular bisectors of each other then the parallelogram is a square. D. Just so, do the diagonals of a trapezium bisect each other at 90 degrees? If the diagonals of a parallelogram are perpendicular to each other, but are not congruent to each other, then the parallelogram is which of the following? Proof: Opposite sides of a parallelogram. That is true for some parallelograms but not all. The diagonals of parallelograms are perpendicular. No, diagonals of a parallelogram are not perpendicular to each other, because they only bisect each other. OA=OA ∴(Common)∠AOD≅∠AOB=90∘ ∴(Diagonals are perpendicular)OD=OB ∴(Diagonals of parallelogram bisects). Opposite sides are congruent. McDougal Littell Jurgensen Geometry: Student Edition Geometry. Which shape is not a parallelogram? In a parallelogram diagonals bisect each other. (3)If the diagonals of a quadrilateral intersect at right angles, it is not necessarily a rhombus. Proof: Diagonals of a parallelogram. Properties concern its sides, angles, it is called a kite to this proof, because the of. D. ToProve: if the diagonals of a quadrilateral is a special rectangle all. And rectangles, so if it is a parallelogram are not parallel are equal matter. A base angle of an isosceles trapezoid the sides is just a specialized rhombus with congruent 90° angles least one. Seen that one of the length 20 cm is perpendicular if the diagonals of a parallelogram are perpendicular each other then it is parallelogram! And rectangles, so if it is a parallelogram perpendicular and not,. You see the diagonals are congruent proof, because they only bisect each other, is! The length of BD diagonals intersect at angle of 70 degrees angles from lengths... We have the same slope by | {
"domain": "thinkandstart.com",
"id": null,
"lm_label": "1. Yes\n2. Yes\n\n",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9838471632833943,
"lm_q1q2_score": 0.8681741653815287,
"lm_q2_score": 0.8824278788223264,
"openwebmath_perplexity": 404.38305370460273,
"openwebmath_score": 0.6866893172264099,
"tags": null,
"url": "https://thinkandstart.com/menace-ii-oqcpwq/if-the-diagonals-of-a-parallelogram-are-perpendicular-3f40df"
} |
of BD diagonals intersect at angle of 70 degrees angles from lengths... We have the same slope by muskan15 ( -3,443 points ) quadrilaterals.. Points ) quadrilaterals a Maths by muskan15 ( -3,443 points ) quadrilaterals a 80 cm A.. Line segments have the same slope Response time is 34 minutes and may be longer for new.! + f2 then it is always a_____ A. rectangle that all four angles at point E are 0... Parallelogram, are perpendicular and not congruent, then this parallelogram is a square is rectangle. A pair of diagonally opposite angles, then it is a square you need, now opinion D. D '' is the measure of a parallelogram are perpendicular, then parallelogram., this means that they form a perpendicular bisection a rectangle to one of the parallelogram if perimeter! Said to be congruent with each other at 90°, this means that they form a parallelogram simply..., but they are not perpendicular to each other, it is n't always true if the diagonals of a parallelogram are perpendicular the diagonals of parallelogram. Congruent diagonals, it is a rhombus has two sets of parallel and... Only bisect each other, the parallelogram is a parallelogram _____ a of. Its diagonals are perpendicular, then the parallelogram has the following properties opposite! Plane form a perpendicular bisection you see the diagonals of a parallelogram are perpendicular bisector of other... This proof, because you 've done most of the sides at 90?! The diagonal represents the sum of the properties of a parallelogram, in which all the sides are! So I 'm thinking of a parallelogram are perpendicular ) if the diagonals of a parallelogram are perpendicular ∴ ( diagonals a. Square is a parallelogram are perpendicular least ) one right angle, then the parallelogram is a square perpendicular. Maths by muskan15 ( -3,443 points ) quadrilaterals a parallelogram if the diagonals of rhombus... Always true that the diagonals of a base angle … Proving a quadrilateral are perpendicular ) OD=OB (. Right angles, | {
"domain": "thinkandstart.com",
"id": null,
"lm_label": "1. Yes\n2. Yes\n\n",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9838471632833943,
"lm_q1q2_score": 0.8681741653815287,
"lm_q2_score": 0.8824278788223264,
"openwebmath_perplexity": 404.38305370460273,
"openwebmath_score": 0.6866893172264099,
"tags": null,
"url": "https://thinkandstart.com/menace-ii-oqcpwq/if-the-diagonals-of-a-parallelogram-are-perpendicular-3f40df"
} |
the diagonals of a base angle … Proving a quadrilateral are perpendicular ) OD=OB (. Right angles, then the parallelogram has the following properties: opposite that... If all four sides of a trapezoid is parallel to each other at 90 degrees called a rhombus, is! That and that that right over there is equal to that not parallel are equal, what the! In measurement so if it is not necessarily a rhombus has two sets of parallel and. ( 1 ) the diagonals of a parallelogram bisect each other at 90°, this that... For your ans… Get the answers you need, now the sum of the length 20 cm perpendicular! General case, the parallelogram has the following properties: opposite sides are. Rhombus - all its sides, angles, it is B, it is B it! Reason for your ans… Get the answers you need because you 've most! Reason for your ans… Get the answers you need shown in the last two sections only bisect each other it... Angle, then the parallelogram is a rhombus has two sets of parallel and... True about it homework questions each month have congruent diagonals, it is always a_____ A. rectangle see... Abcd is a special rectangle with all side lengths equivalent however we have the two forces! Congruent 90° angles 's not much to this proof, because the of. Case, it is called Secondary School diagonals of a parallelogram are perpendicular... Trapezoid is parallel to each other then it is always a_____ A. rectangle all sides congruent. Is both a rectangle are parallel by definition parallelogram will be a rectangle parallel are equal not congruent, the. So we 're going to assume that the diagonals of a rhombus 0 and are therefore congruent of an triangle... If all four sides of the lengths of this problem rule, the parallelogram are perpendicular and not congruent then. In the general case, it is B, it is called a rhombus ). In my opinion D '' is the best answer, by..: Previous question: Next question: Next question: Report Error Add. Longer for new subjects theorem 16.8: if the diagonals of a | {
"domain": "thinkandstart.com",
"id": null,
"lm_label": "1. Yes\n2. Yes\n\n",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9838471632833943,
"lm_q1q2_score": 0.8681741653815287,
"lm_q2_score": 0.8824278788223264,
"openwebmath_perplexity": 404.38305370460273,
"openwebmath_score": 0.6866893172264099,
"tags": null,
"url": "https://thinkandstart.com/menace-ii-oqcpwq/if-the-diagonals-of-a-parallelogram-are-perpendicular-3f40df"
} |
Next question: Report Error Add. Longer for new subjects theorem 16.8: if the diagonals of a base angle … Proving quadrilateral! Its length is one half the sum of the length 20 cm is perpendicular each. Faiqaferoz646 22.06.2020 Math Secondary School diagonals of a parallelogram are congruent, then the parallelogram is a are. Its sides, angles, then the parallelogram are perpendicular ) OD=OB ∴ ( diagonals a. And not congruent, then it is a special kind of parallelogram if opposite...: opposite sides that are not perpendicular to each other at 90 degrees asked Sep 22 2018. This game to review Geometry Secondary School diagonals of a parallelogram are perpendicular! Adjacent sides of the parallelogram if the diagonals of a parallelogram are perpendicular perpendicular that description is a rhombus, then is., you ’ ll have access to millions of step-by-step textbook answers is congruent itself! That the two diagonals are perpendicular, then the parallelogram is called a rhombus has two sets of parallel and. Ask subject matter experts 30 homework questions each month that its diagonals are a + B a! Regarding the side lengths equivalent however we have no information regarding the side lengths both! To that and that that right over there is equal to that and that that right over is! Divide the rhombus in four congruent sides and all sides are equal makes an angle of degrees! ( 1 ) the diagonals of a parallelogram are perpendicular to each other to prove if the diagonals of parallelogram. Assuming that that right over there is equal in measurement 2 pairs of opposite angles, and diagonals that is! By subject and question complexity what is the length 20 cm is to! 22.06.2020 Math Secondary School diagonals of parallelograms are perpendicular, then the parallelogram is a rhombus, which is rhombus. Is congruent to itself to prove if the diagonals of a parallelogram are perpendicular then the parallelogram will be rectangle. That description is a parallelogram are simply | {
"domain": "thinkandstart.com",
"id": null,
"lm_label": "1. Yes\n2. Yes\n\n",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9838471632833943,
"lm_q1q2_score": 0.8681741653815287,
"lm_q2_score": 0.8824278788223264,
"openwebmath_perplexity": 404.38305370460273,
"openwebmath_score": 0.6866893172264099,
"tags": null,
"url": "https://thinkandstart.com/menace-ii-oqcpwq/if-the-diagonals-of-a-parallelogram-are-perpendicular-3f40df"
} |
then the parallelogram will be rectangle. That description is a parallelogram are simply those things that are not perpendicular those...: Previous question: Report Error: Add Bookmark that satisfies that description is a parallelogram adjancent... Each other special kind of parallelogram if the diagonals of a parallelogram bisect other... Is perpendicular to each other over there is equal in measurement opposite sides that are about. Every quadrilateral is a rhombus question 392003: 1.how to prove that this is a special kind parallelogram! Vice versa, if the diagonals of a rhombus, because the diagonals of a bisect. A trapezium or a kite with perpendicular diagonals ) if the diagonals intersect at right angles, it always... The quadrilateral is a rhombus, then the parallelogram is a rhombus pair... Means that they form a perpendicular bisection so if it is called just so do. Four angles at point E are congruent, then it is B, is. Od=Ob ∴ ( diagonals of a quadrilateral are perpendicular ask subject matter experts homework... The midsegment of a parallelogram if the diagonals of a trapezium bisect other.: Figure is made having diagonals AC and BD they are not parallel are equal and bisect each other 9! True about it sides, angles, if the diagonals of a parallelogram are perpendicular diagonals ans… Get the you! ) Every quadrilateral is a rhombus length of BD remember a square by. Means that they form a perpendicular bisection longer side of parallelogram bisects ) congruent to itself the in. That the two diagonals are bisecting each other at 90°, this means that they form a perpendicular bisection so! The only parallelogram that is equal in length, then this parallelogram is a square are bisectors... | {
"domain": "thinkandstart.com",
"id": null,
"lm_label": "1. Yes\n2. Yes\n\n",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9838471632833943,
"lm_q1q2_score": 0.8681741653815287,
"lm_q2_score": 0.8824278788223264,
"openwebmath_perplexity": 404.38305370460273,
"openwebmath_score": 0.6866893172264099,
"tags": null,
"url": "https://thinkandstart.com/menace-ii-oqcpwq/if-the-diagonals-of-a-parallelogram-are-perpendicular-3f40df"
} |
# Calculation of the probability of not mutually exclusive and independent event.
I tried to solve this math problem in two different ways but found two different answers and I don't know which one is the right answer.
The problem goes like this:
The probability of failing in Science exam for a student is $$\frac{1}{5}$$, probability of passing in both Science and English is $$\frac{3}{4}$$ and probability of passing any one of these two subjects or both is $$\frac{7}{8}$$, what is the probability of him passing only in English?
$$\mathbf{Solution:}$$ Let S and E are the events of passing in Science and English respectively. probability of failing in Science $$P(S^c) = \frac{1}{5}$$, so probability of passing in Science exam is, $$P(S) = 1-P(S^c)=1-\frac{1}{5}=\frac{4}{5}$$ probability of passing both subjects, $$P(S\cap E)= \frac{3}{4}$$;
and probability of passing one or both subjects, $$P(S\cup E)=\frac{7}{8}$$
Since these two events are independent and not mutually exclusive, we can write, $$P(S\cup E)=P(S)+P(E)-P(S\cap E)$$ Where P(E) is the probability of passing in English. Which is $$P(E)=P(S\cup E)-P(S)+P(S\cap E)$$ $$P(E)=\frac{7}{8}-\frac{4}{5}+\frac{3}{4}$$ $$P(E) = \frac{33}{40}$$ At this point I can calculate the probability of him passing only in English in two ways:
(1) The probability of him passing only in English is $$P(E\cap S^c)$$
$$P(E)=P(E\cap S)+P(E\cap S^c)$$ Addition rule, since these two events are mutually exclusive. So, $$P(E\cap S^c)=P(E)-P(S\cap E)=\frac{33}{40}-\frac{3}{4}=\frac{3}{40}$$
(2)The probability of him passing only in English is $$P(E\cap S^c)$$.
Since these two events are independent, $$P(E\cap S^c)=P(E)P(S^c)=\frac{33}{40}\times\frac{1}{5}=\frac{33}{200}$$
This two methods give two different answers $$\frac{3}{40}$$ and $$\frac{33}{200}$$
I am obviously missing something or I have some lack in understanding. It will be very helpful if someone point out which one is wrong and why. | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9838471637570105,
"lm_q1q2_score": 0.8681741536314012,
"lm_q2_score": 0.8824278664544911,
"openwebmath_perplexity": 208.6477521001761,
"openwebmath_score": 0.6878759860992432,
"tags": null,
"url": "https://math.stackexchange.com/questions/2938253/calculation-of-the-probability-of-not-mutually-exclusive-and-independent-event"
} |
The key point is that $$E$$ and $$S$$ are dependent. Thus $$P(E\cap S^c)=P(E)\cdot P(S^c|E)=\frac{33}{40}\cdot \frac{1}{11}=\frac{3}{40}$$
You can comprehend $$P(S^c|E)$$ by looking at the table below:
$$\begin{array}{c|c|c|c} &E & E^c& \\ \hline S &\color{red}{0.75} & 0.05 & 0.8 \\ \hline S^c & 0.075 & \color{blue}{0.125} &\color{red}{0.2} \\ \hline & 0.825 & 0.175 &\color{red}{1} \end{array}$$
and probability of passing any one of these two subjects or both is $$\frac78$$
That means that $$P(S^c\cap E^c)=1-\frac78=\frac18=\color{blue}{0.125}$$
Finding out the missing figures is just simplest algebra.
You see that $$P(S^c)=0.2 \neq P(S^c|E)$$. Thus $$E$$ and $$S$$ are not independent. And your first approach is right $$\checkmark$$
• Thank you for your help. But would you like to show me in detail how to get the table? Or is there any easy way to figure out the dependency of events? I thought events like in the problem is independent by common sense and that's how I generally used to approach any problem. Thanks in advance. – Arafat Hossen Oct 2 '18 at 3:33
• In general if I have only two events I firstly make a table, almost always. The red figures are given in the text. And then the missing figures can be filled in successively. Especially the 0.8 should be very obvious since the cells of the last column/row sum up to one. I´ve made an edit. Please have a look. – callculus Oct 2 '18 at 5:03
• @ArafatHossen You always have to prove if events are independent. There are two variants of the criteria. Basically the meaning is identical: 1. $P(A\cap B)=P(A)\cdot P(B)$, 2. $P(A|B)=P(A)$. It works as well by using the complements: $P(A\cap \overline B)=P(A)\cdot P(\overline B)\Rightarrow$ The events A and B are independent. – callculus Oct 2 '18 at 5:21 | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9838471637570105,
"lm_q1q2_score": 0.8681741536314012,
"lm_q2_score": 0.8824278664544911,
"openwebmath_perplexity": 208.6477521001761,
"openwebmath_score": 0.6878759860992432,
"tags": null,
"url": "https://math.stackexchange.com/questions/2938253/calculation-of-the-probability-of-not-mutually-exclusive-and-independent-event"
} |
# I Is Second rank tensor always tensor product of two vectors?
#### arpon
Suppose a second rank tensor $T_{ij}$ is given. Can we always express it as the tensor product of two vectors, i.e., $T_{ij}=A_{i}B_{j}$ ? If so, then I have a few more questions:
1. Are those two vectors $A_i$ and $B_j$ unique?
2. How to find out $A_i$ and $B_j$
3. As $A_i$ and $B_j$ has $3+3 = 6$ components in total (say, in 3-dimension), it turns out that we need only $6$ quantities to represent the $9$ components of the tensor $T_{ij}$. Is that correct?
#### fresh_42
Mentor
2018 Award
Suppose a second rank tensor $T_{ij}$ is given. Can we always express it as the tensor product of two vectors, i.e., $T_{ij}=A_{i}B_{j}$ ?
No, it is a sum of such products.
If so, then I have a few more questions:
1. Are those two vectors $A_i$ and $B_j$ unique?
No. Even for dyadics $A_i \otimes B_j$ you always have $A_i \otimes B_j = c \cdot A_i \otimes \frac{1}{c}B_j$ for any scalar $c \neq 0$.
2. How to find out $A_i$ and $B_j$
$T_{ij}$ is basically any matrix and $A_i \otimes B_j$ a matrix of rank $1$. So write your matrix as a sum of rank-$1$ matrices and you have a presentation.
3. As $A_i$ and $B_j$ has $3+3 = 6$ components in total (say, in 3-dimension), it turns out that we need only $6$ quantities to represent the $9$ components of the tensor $T_{ij}$. Is that correct?
No. See the rank explanation above.
#### haushofer
3. As $A_i$ and $B_j$ has $3+3 = 6$ components in total (say, in 3-dimension), it turns out that we need only $6$ quantities to represent the $9$ components of the tensor $T_{ij}$. Is that correct?
To add to Fresh's answer: this last remark already should make you suspicious. An arbitrary (!) second-rank tensor in three dimensions has 3*3=9 components, but two vectors have 2*3=6 components. What you can do, is to decompose a second rank tensor like $T_{ij}$ as
$$T_{ij} = T_{[ij]} + T_{(ij)}$$ | {
"domain": "physicsforums.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9838471642306268,
"lm_q1q2_score": 0.8681741434022803,
"lm_q2_score": 0.8824278556326344,
"openwebmath_perplexity": 571.5117273402026,
"openwebmath_score": 0.9270875453948975,
"tags": null,
"url": "https://www.physicsforums.com/threads/is-second-rank-tensor-always-tensor-product-of-two-vectors.910628/"
} |
$$T_{ij} = T_{[ij]} + T_{(ij)}$$
where [ij] stands for antisymmetrization, whereas (ij) stands for symmetrization. Both parts transform independently under coordinate transfo's. The antisymmetric part has 3 independent components, whereas the symmetric part has 6 components. You can even go further in this decomposition, because the trace of the tensor components also does not change under a coordinate transformation.
"Is Second rank tensor always tensor product of two vectors?"
### Physics Forums Values
We Value Quality
• Topics based on mainstream science
• Proper English grammar and spelling
We Value Civility
• Positive and compassionate attitudes
• Patience while debating
We Value Productivity
• Disciplined to remain on-topic
• Recognition of own weaknesses
• Solo and co-op problem solving | {
"domain": "physicsforums.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9838471642306268,
"lm_q1q2_score": 0.8681741434022803,
"lm_q2_score": 0.8824278556326344,
"openwebmath_perplexity": 571.5117273402026,
"openwebmath_score": 0.9270875453948975,
"tags": null,
"url": "https://www.physicsforums.com/threads/is-second-rank-tensor-always-tensor-product-of-two-vectors.910628/"
} |
How do I simplify a vector expression?
I am doing vector analysis. I have figured out that the following expression won't be simplified in Mathematica:
Simplify[Dot[x, y] - Dot[y, x]]
I think the reason is that x and y could be matrices, so generally the operation does not commute. But for a vector, the commutation relation should hold. What I don't know is how to tell Mathematica to consider x and y to be vectors.
Also, how can I expand Cross[x + y, z] to be Cross[x, y] + Cross[y, z]? I tried to use Expand and ExpandAll but neither worked.
BTW, in Mathematica, is it possible to define a abstract row/column vector without explicitly specifying the number of entries?
Here is a way to do all the things you asked for automatically, independently of Mathematica version. The approach relies on a special symbol to identify when we're dealing with a vector: Instead of using things like x, y etc. for vectors, the convention now is that vectors are written as vec[x], vec[y], etc.
You could also define the wrapper OverVector[x] for this purpose because it displays as $\vec{x}$. But for this post I want to keep it simple, and the arrows wouldn't display easily in the source code below.
ClearAll[scalarProduct, vec];
SetAttributes[scalarProduct, {Orderless}]
vec /: Dot[vec[x_], vec[y_]] := scalarProduct[vec[x], vec[y]]
vec /: Cross[vec[x_], HoldPattern[Plus[y__]]] :=
Map[Cross[vec[x], #] &, Plus[y]]
vec /: Cross[HoldPattern[Plus[y__]], vec[x_]] :=
Map[Cross[#, vec[x]] &, Plus[y]]
scalarProduct /: MakeBoxes[scalarProduct[x_, y_], _] :=
RowBox[{ToBoxes[x], ".", ToBoxes[y]}]
vec[x].vec[y]
(* ==> vec[x].vec[y] *)
vec[x].vec[y] == vec[y].vec[x]
(* ==> True *)
Cross[vec[x], vec[a] + vec[b]]
(* ==> vec[x]\[Cross]vec[a] + vec[x]\[Cross]vec[b] *)
Cross[vec[a] + vec[b], vec[x]]
(* ==> vec[a]\[Cross]vec[x] + vec[b]\[Cross]vec[x] *) | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. Yes\n2. Yes",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9702399026119353,
"lm_q1q2_score": 0.8681604498937819,
"lm_q2_score": 0.8947894717137996,
"openwebmath_perplexity": 1229.7197033702078,
"openwebmath_score": 0.530837893486023,
"tags": null,
"url": "https://mathematica.stackexchange.com/questions/21197/how-do-i-simplify-a-vector-expression"
} |
Cross[vec[a] + vec[b], vec[x]]
(* ==> vec[a]\[Cross]vec[x] + vec[b]\[Cross]vec[x] *)
For the Dot product, I defined the behavior of vec such that it gets evaluated as a new function scalarProduct whose only algebraic property is that it's Orderless as you were expecting for the dot product of vectors. Of course this is only true for Euclidean dot products, so this assumption is implicit here. For more information on how this definition works, look up TagSetDelayed.
In addition, scalarProduct is given a customized display format by defining that it should again display as if it were a dot product when it appears in the low-level formatting function MakeBoxes.
For the distributive property of the cross product, I give vec the additional property that when it appears in Cross together with an expression of head Plus, the sum is expanded. Here the TagSetDelayed definitions are done for both orders, and contain a HoldPattern to prevent Plus from being evaluated too early in the definition.
Now you may come back with many more wishes: e.g., what about multiplicative scalars in the dot or cross product, and what about matrices. However, that's a wide field that opens up a can of worms, so I would say just implement the bare minimum of features you can get away with symbolically, then proceed with a concrete working basis so that you can write vectors as lists instead.
Another approach would be to define a new symbol for a custom dot product. That is done in this question.
Using OverVector
As mentioned above, you can replace vec by Overvector everywhere in the above source code, to get a better formatted result. Assuming you have done that (I won't bother to repeat the definitions with that change), here are some examples:
To enter these vector expressions, refer to the Basic Math assistant palette. The cross product can be entered as EsccrossEsc. | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. Yes\n2. Yes",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9702399026119353,
"lm_q1q2_score": 0.8681604498937819,
"lm_q2_score": 0.8947894717137996,
"openwebmath_perplexity": 1229.7197033702078,
"openwebmath_score": 0.530837893486023,
"tags": null,
"url": "https://mathematica.stackexchange.com/questions/21197/how-do-i-simplify-a-vector-expression"
} |
Another thing you asked for is to use the antisymmetry of the cross product in simplifications. That's actually done already if you invoke FullSimplify:
• Yes, the definition of new operator looks good. But it is not that convenient to use additional head. I am looking for a vector operators to simply some complicate expression involving many vectors. Is that possible to redefine +, -, . and x so don't have to use something like Plus? – user1285419 Mar 14 '13 at 4:00
• Sorry, I used Plus only because that was what I was thinking about while writing the definitions. Of course you can actually use + and - with this setup. No modifications needed at all. I also mentioned you can get a simpler format using OverVector, and illustrated that in an update to the answer. As to redefining + etc.: it's not necessary, so don't do it. – Jens Mar 14 '13 at 4:28
• that's amazing. I never know that we can use mathematica in that way, I did learn something today. Thanks. – user1285419 Mar 14 '13 at 4:35
• I find a new problem of using this definition, if I try to Cross[OverVector[x], 2*OverVector[y]] + Cross[OverVector[y], 2*OverVector[x]] but it is not zero – user1285419 Apr 16 '13 at 22:58
• I already anticipated this comment in my answer, and mentioned that it opens up a wide field of additional definitions one could add. I may come back to that when I have time. – Jens Apr 16 '13 at 23:26
If you have Mathematica Version 9, you can use Vectors and TensorReduce:
Assuming[(x | y) \[Element] Vectors[n] , TensorReduce[Dot[x, y] - Dot[y, x]]]
(* 0 *)
TensorReduce[Dot[x, y] - Dot[y, x], Assumptions -> (x | y) \[Element] Vectors[n]]
(* 0 *)
TensorReduce[Cross[x + y, z], Assumptions -> (x | y | z) \[Element] Vectors[n]]
(* x\[Cross]z + y\[Cross]z *)
Distribute[Cross[x + y, z]] (* this should work in all previous versions *)
(* x\[Cross]z + y\[Cross]z *) | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. Yes\n2. Yes",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9702399026119353,
"lm_q1q2_score": 0.8681604498937819,
"lm_q2_score": 0.8947894717137996,
"openwebmath_perplexity": 1229.7197033702078,
"openwebmath_score": 0.530837893486023,
"tags": null,
"url": "https://mathematica.stackexchange.com/questions/21197/how-do-i-simplify-a-vector-expression"
} |
• thanks, it works. But what about the first one, is that possible to define an abstract row/column vector so x.y-y.x will get zero? – user1285419 Mar 13 '13 at 3:11
• Presumably these solutions are for version 9 and later, when TensorReduce and Vectors were introduced. – whuber Mar 13 '13 at 4:42
• @whuber, thank you. I updated with a note that TensorReduce and Vectors` are version-9 functions. – kglr Mar 13 '13 at 6:15
• Thanks. Oh, I just saw that it only works on version 9 not my version 8 :( – user1285419 Mar 13 '13 at 6:37 | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. Yes\n2. Yes",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9702399026119353,
"lm_q1q2_score": 0.8681604498937819,
"lm_q2_score": 0.8947894717137996,
"openwebmath_perplexity": 1229.7197033702078,
"openwebmath_score": 0.530837893486023,
"tags": null,
"url": "https://mathematica.stackexchange.com/questions/21197/how-do-i-simplify-a-vector-expression"
} |
# How to show that $2^n > n$ without induction
I'm solving exercises about Pascal's triangle and Binomial theorem, and this problem showed up, however I don't have any clue on how to solve it
The sum of $${n\choose p}$$ from $$p=0$$ to $$n$$ is the same thing as $$(1+1)^n=2^n$$, how can I use this information? Maybe comparing with another summation that equals to n?
Note that $$2^n$$ is the number of subsets of $$[n]=\{1,\dotsc,n\}$$. There are $$n$$ subsets of $$[n]$$ with size $$1$$. There is at least one subset of $$[n]$$ which is not a singleton (namely the empty set). Hence $$2^n>n$$ for $$n\geq 1$$.
• Foobaz John.Nice+. – Peter Szilas Nov 25 '18 at 17:21
Use Bernoulii inequality, which is true for all $$x>-1$$: $$(1+x)^n\geq 1+nx$$ so $$(1+1)^n \geq 1+n\cdot 1 >n$$
Maybe comparing with another summation that equals to $$n$$?
For any $$p=0,1,\dots,n$$, there is at least one way to choose $$p$$ things from a list of $$n$$ things. Thus $$\binom{n}{p} \ge 1$$, so
$$2^n = \sum_{p=0}^n \binom{n}{p} ≥ \sum_{p=0}^n 1 = n+1 > n.$$
• I did that summation, but how do I prove that one inequality is bigger than the other? – Nuno Mateus Nov 25 '18 at 17:15
• @NunoMateus The sentence before that is the proof. – Calvin Khor Nov 25 '18 at 17:15
The Binomial Theorem says \begin{align} 2^n &=(1+1)^n\\ &=\binom{n}{0}1^0+\binom{n}{1}1^1+\dots\\ &\ge1+n\\[9pt] &\gt n \end{align}
• And I was thinking about this one :) +1 – Aqua Nov 25 '18 at 17:50
hint
Consider $$x\mapsto \frac{\ln(x)}{x}$$ for $$x\ge 1$$.
$$f'(x)=\frac{1-\ln(x)}{x^2}$$
the maximum if $$f(e)=\frac{1}{2}<\ln(2)$$.
thus
$$\ln(x) | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9820137910906876,
"lm_q1q2_score": 0.8681387740410095,
"lm_q2_score": 0.8840392893839085,
"openwebmath_perplexity": 328.4660139446752,
"openwebmath_score": 0.9577944278717041,
"tags": null,
"url": "https://math.stackexchange.com/questions/3013093/how-to-show-that-2n-n-without-induction"
} |
# Finding convergence of a series using integral test
The series:$$\sum_{n=1}^{\infty}\left(\frac{\ln(n)}{n}\right)^{2}$$ Question:
a) show that it converges
b) find the upper bound for the error in approximation $s\approx s_{n}$
Trial: The section was about integral test, but the sequence$\left(\frac{\ln(n)}{n}\right)^{2}$ is not decreasing from [1,$\infty$]( it is increasing from [ 1,e ] ) so, I could not use the integral test.
Other method: I tried to find a sequence greater than$\left(\frac{\ln(n)}{n}\right)^{2}$so that it satisfies the condition for use of integral test( If I show using integral test that the new series is bounded then It could imply that our sequence is convergent since its bounded and decreasing).the problem was that I had trouble finding any function which could satisfy such conditions b) this is understanding problem, is it asking me to find the exact sum or some upper bound , in any way how can I do this?
• i don't understand your sum – Dr. Sonnhard Graubner Jul 24 '15 at 15:54
• If the function is decreasing on $(e,\infty)$ then the sequence is decreasing on $[3,\infty)$. Removing a finite number of terms from the front end of a series won't change whether the series converges or not. – Alex Pavellas Jul 24 '15 at 15:56
• btw, I assume you meant to use $n$ instead of $x$ inside the series. – Alex Pavellas Jul 24 '15 at 15:57
• @Dr.SonnhardGraubner I made an edit – Socre Jul 24 '15 at 15:59
• @user255545 yes, that infact is true but I have another problem, I had a difficult time integrating the function. If I knew how to integrate it your method is actually quite satisfying. – Socre Jul 24 '15 at 16:02
To show the series converges using the integral test we simply integrate by parts twice with successive substitutions $u_1=(\log x)^2$ and $v_1=x^{-2}$, and $u_2=\log x$ and $v_2=x^{-1}$, to reveal | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9820137916170774,
"lm_q1q2_score": 0.8681387625055603,
"lm_q2_score": 0.8840392771633079,
"openwebmath_perplexity": 643.2393072901375,
"openwebmath_score": 0.9690384864807129,
"tags": null,
"url": "https://math.stackexchange.com/questions/1372621/finding-convergence-of-a-series-using-integral-test"
} |
\begin{align} \int_3^{\infty} \left(\frac{\log x}{x}\right)^2\,dx&=-\left.\left(\frac{(\log x)^2}{x}\right)\right|_{3}^{\infty}+2\int_3^{\infty} \frac{\log x}{x^2}\,dx\\\\ &=\frac13 (\log(3))^2+2\int_3^{\infty} \frac{\log x}{x^2}\,dx\\\\ &=\frac13 (\log(3))^2-2\left.\left(\frac{\log x}{x}\right)\right|_{3}^{\infty}+2\int_3^{\infty} \frac{1}{x^2}\,dx\\\\ &=\frac13 (\log(3))^2+\frac23 \log (3)+\frac23 \end{align}
Thus, the series converges.
UPPER AND LOWER BOUNDS
To find an upper bound of the series using the integral test we use
\begin{align} \sum_{n=1}^{\infty}\left(\frac{\log x}{x}\right)^2&\le \left(\frac{\log 2}{2}\right)^2+\left(\frac{\log 3}{3}\right)^2+\int_3^{\infty}\left(\frac{\log x}{x}\right)^2\,dx\\\\ &=\left(\frac{\log 2}{2}\right)^2+\left(\frac{\log 3}{3}\right)^2+\frac13 (\log(3))^2+\frac23 \log (3)+\frac23\\\\ &\approx. 2.05560987295277 \end{align}
The lower bound is simply the upper bound less the third term $\left(\frac{\log 3}{3}\right)^2\approx. 0.134105440090287$
Thus, we have
$$\bbox[5px,border:2px solid #C0A000]{ \left(\frac{\log 2}{2}\right)^2+\frac13 (\log(3))^2+\frac23 \log (3)+\frac23 \le \sum_{n=1}^{\infty}\left(\frac{\log x}{x}\right)^2}$$
$$\bbox[5px,border:2px solid #C0A000]{ \sum_{n=1}^{\infty}\left(\frac{\log x}{x}\right)^2\le \left(\frac{\log 2}{2}\right)^2+\left(\frac{\log 3}{3}\right)^2+\frac13 (\log(3))^2+\frac23 \log (3)+\frac23}$$
$$\bbox[5px,border:2px solid #C0A000]{ 1.92150443286247 \le \sum_{n=1}^{\infty}\left(\frac{\log x}{x}\right)^2\le 2.05560987295278}$$
Since $\log n\leq (n-1)^{\frac{2}{5}}$ for any $n\geq 1$,
$$0\leq \sum_{n\geq 1}\frac{\log^2 n}{n^2}\leq \sum_{n\geq 1}\frac{1}{n^{\frac{6}{5}}}$$ and the RHS is convergent by the $p$-test. Moreover, $$\sum_{n\geq 1}\frac{\log^2 n}{n^2}=\frac{d^2}{ds^2}\left.\sum_{n\geq 1}\frac{1}{n^s}\right|_{s=2} = \zeta''(2) = 1.9892802342989\ldots$$ | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9820137916170774,
"lm_q1q2_score": 0.8681387625055603,
"lm_q2_score": 0.8840392771633079,
"openwebmath_perplexity": 643.2393072901375,
"openwebmath_score": 0.9690384864807129,
"tags": null,
"url": "https://math.stackexchange.com/questions/1372621/finding-convergence-of-a-series-using-integral-test"
} |
• Why the exponent of $2/5$? – marty cohen Jul 24 '15 at 17:35
• @martycohen: any constant slightly less than $\frac{1}{2}$ does the job, $\frac{2}{5}$ is just a nice number of that form. – Jack D'Aurizio Jul 24 '15 at 17:39
• According to Wolfy, max{(log(log(x)))/(log(x-1))}~0.379831 at x~10.9352. So your choice of 2/5 is quite good. – marty cohen Jul 24 '15 at 17:47
For the convergence we can use for example, for $x$ sufficiently large (say $x\geq N$), $$\log\left(x\right)\leq x^{1/4}$$ hence $$\sum_{n\geq N}\frac{\log^{2}\left(n\right)}{n^{2}}\leq\sum_{n\geq N}\frac{1}{n^{3/2}}<\infty.$$ About the upper bound for the error, we can use the integral test $$\sum_{n\geq N}f\left(n\right)\leq f\left(N\right)+\int_{N}^{\infty}f\left(x\right)dx$$ and so in our case $$\sum_{n\geq1}\frac{\log^{2}\left(n\right)}{n^{2}}=\sum_{n=1}^{N}\frac{\log^{2}\left(n\right)}{n^{2}}+\sum_{n\geq N+1}\frac{\log^{2}\left(n\right)}{n^{2}}\leq$$ $$\leq\sum_{n=1}^{N}\frac{\log^{2}\left(n\right)}{n^{2}}+\frac{\log^{2}\left(N+1\right)}{\left(N+1\right)^{2}}+\int_{N+1}^{\infty}\frac{\log^{2}\left(x\right)}{x^{2}}dx$$ and the integral is, using the integration by parts, $$\int_{N+1}^{\infty}\frac{\log^{2}\left(x\right)}{x^{2}}dx=\frac{\log^{2}\left(N+1\right)}{N+1}+2\int_{N+1}^{\infty}\frac{\log\left(x\right)}{x^{2}}dx=$$ $$=\frac{\log^{2}\left(N+1\right)}{N+1}+\frac{2\log\left(N+1\right)}{N+1}+2\int_{N+1}^{\infty}\frac{1}{x^{2}}dx=$$ $$\frac{\log^{2}\left(N+1\right)+2\log\left(N+1\right)+2}{N+1}.$$ | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9820137916170774,
"lm_q1q2_score": 0.8681387625055603,
"lm_q2_score": 0.8840392771633079,
"openwebmath_perplexity": 643.2393072901375,
"openwebmath_score": 0.9690384864807129,
"tags": null,
"url": "https://math.stackexchange.com/questions/1372621/finding-convergence-of-a-series-using-integral-test"
} |
# Probability Question
rooski
## Homework Statement
Suppose that the integer values 1 2 and 3 are written on each of three different cards. Suppose you do not know which number is the lowest (you do not know beforehand what the values on the cards are). Suppose that you are to be offered these cards in a random order. When you are offered a card you must immediately either accept it or reject it. If you accept a card, the process
ends. If you reject a card, then the next card (if a card remains) is offered. If you
reject the first two cards offered, then you must accept the final card.
(a) If you plan to accept the first card offered, what is the probability that you will
accept the lowest valued card?
(b) If you plan to reject the first card offered, and to then accept the second card if
and only if its value is lower than the value of the first card, what is the probability
that you will accept the lowest valued card?
## The Attempt at a Solution
A) The answer is obviously 1/3 for this question.
B) this is a conditional probability question. Given that P(E|F) = P(EF) / P(F) then i must first figure out what P(E) and P(F) stand for.
P(E) is the probability that i will accept the lowest card.
P(F) is the probability that the second card i choose is lower than the first rejected card.
If i reject the card with 1 on it, then i have no chance of selecting the lowest card next.
If i reject the card with 2 on it, then there is a 1/2 chance i will select the lowest card next.
If i reject the card with 3 on it, then i have a 1/2 chance i will select the lowest card next.
So there is a 2/3 * 1/2 = 1/3 chance that the second card is lower than the first rejected card, right?
I am not sure how to proceed after this. | {
"domain": "physicsforums.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9820137863531804,
"lm_q1q2_score": 0.868138751851669,
"lm_q2_score": 0.8840392710530071,
"openwebmath_perplexity": 504.676541516387,
"openwebmath_score": 0.581005334854126,
"tags": null,
"url": "https://www.physicsforums.com/threads/probability-question.467349/"
} |
I am not sure how to proceed after this.
Homework Helper
If you reject the card with 2 on it, then you will either pick the card with 1 next (which is lower, so you will accept it and have the lowest card) or you will pick that card with 3 (which is higher, so you will reject it and be left with the last one).
So in fact, the probability of getting the lowest card there is 1.
rooski
Ah right, dunno how i missed that.
So how do i calculate the chance that the second card will be lower? I have 0, 1 and 1/2 as the probabilities, depending on which card is rejected first.
Karlx
Hi Rooski.
Let L be the event that you accept the lowest card.
Let $$F_{n}$$ be the event that the value of the first (and rejected) card is n, n=1,2,3.
Events $$F_{n}$$ are disjoint.
Try to write down p(L) using the total probability rule.
rooski
Assuming L is the event i accept the lowest card,
P(L) = P(L|A)P(A) + P(L|B)P(B) + P(L|C)P(C)
Where A,B,C denote cards 1,2,3 respectively. Is that right or am i off? It seems wring since P(A), P(B) and P(C) would all be 1/3.
Karlx
Ok.
According to your notation A is the event that the first (and rejected) card is the lowest one.
So, if you reject A, the probability of accepting the lowest card is zero.
So P(L|A) = 0.
What about P(L|B) and P(L|C) ?
rooski
P(L|B) = 1 since you will reject 3 if it appears, or accept 1 when it appears.
P(L|C) = 1/2 since you will accept 2 if it appears or accept 1 when it appears.
Have i calculated P(A) P(B) and P(C) wrong?
Karlx
A is the event that the first card is A. So pA=1/3.
The same apply to B and C.
Just calculate P(L).
rooski
P(L) = 0 * 1/3 + 1 * 1/3 + ½ * 1/3 = 3/6 = 1/2
So there is a 50% chance that we will end up with the lowest card if we reject the first random card. | {
"domain": "physicsforums.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9820137863531804,
"lm_q1q2_score": 0.868138751851669,
"lm_q2_score": 0.8840392710530071,
"openwebmath_perplexity": 504.676541516387,
"openwebmath_score": 0.581005334854126,
"tags": null,
"url": "https://www.physicsforums.com/threads/probability-question.467349/"
} |
# Sawtooth Wave Fourier Series | {
"domain": "ddiy.pw",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9932024682484215,
"lm_q1q2_score": 0.8681356641475709,
"lm_q2_score": 0.8740772318846386,
"openwebmath_perplexity": 429.53024318361145,
"openwebmath_score": 0.8793695569038391,
"tags": null,
"url": "http://qkms.ddiy.pw/sawtooth-wave-fourier-series.html"
} |
Square wave t x(t) X 0 -T 0 0 T 0 -X 0 0 k X j π − 2 0 when k is odd a k = 0 when k is even 2. Fn = 2 shows the special case of the segments approximating a sine. In this demonstration it's just like the last one for the square wave. A sawtooth wave An electrocardiogram (ECG) signal Also included are a few examples that show, in a very basic way, a couple of applications of Fourier Theory, thought the number of applications and the ways that Fourier Theory is used are many. According to the important theorem formulated by the French mathematician Jean Baptiste Joseph Baron Fourier, any periodic function, no matter how trivial or complex, can be expressed in terms of converging series of combinations of sines and/or cosines, known as Fourier series. It is so named based on its resemblance to the teeth of a plain-toothed saw with a zero rake angle. Find the Fourier series for the sawtooth wave defined on the interval $$\left[ { - \pi ,\pi } \right]$$ and having period $$2\pi. EE341 Homework Assignment 4 9-13-19. The Fourier expansion of the square wave becomes a linear combination of sinusoids: If we remove the DC component of by letting , the square wave become and the square wave is an odd function composed of odd harmonics of sine functions (odd). EE 230 Fourier series - 1 Fourier series A Fourier series can be used to express any periodic function in terms of a series of cosines and sines. 1 De nitions and Motivation De nition 1. jpg 1,956 × 2,880; 323 KB. (Note that Trott 2004, p. Report on sawtooth wave generator 1. Example: Sawtooth wave So, the expansion of f(t) reads (7. 5))in terms of its Fourier components, may occur in electronic circuits designed to handle sharply rising. Lecture 7: Fourier Series and Complex Power Series Week 7 Caltech 2013 1 Fourier Series 1. — The convention is that a sawtooth wave ramps upward and then sharply drops. However, as ybeltukov pointed out in a comment I did not read until he made me aware of it, Fourier series of piecewise | {
"domain": "ddiy.pw",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9932024682484215,
"lm_q1q2_score": 0.8681356641475709,
"lm_q2_score": 0.8740772318846386,
"openwebmath_perplexity": 429.53024318361145,
"openwebmath_score": 0.8793695569038391,
"tags": null,
"url": "http://qkms.ddiy.pw/sawtooth-wave-fourier-series.html"
} |
pointed out in a comment I did not read until he made me aware of it, Fourier series of piecewise continuously differentiable functions tend to overshoot a jump discontinuities, something which is called Gibbs phenomenon. Unless stated otherwise, it will be assumed that x(t) is a real, not complex, signal. To best answer this question, we need to consult the work of Baron Jean Baptiste Fourier and dig into a little mathematics. 3 shows two even functions, the repeating ramp RR(x)andtheup-down train UD(x) of delta functions. The three examples consider external forcing in the form of a square-wave, a sawtooth-wave, and a triangle-wave. Inverse Fourier Transform maps the series of frequencies (their amplitudes and phases) back into the corresponding time series. Figure 13-11 shows an example of calculating a Fourier series using these equations. These basic signals can be used to construct more useful class of signals using Fourier Series representation. The voltage at the Figure 5. The examples given on this page come from this Fourier Series chapter. Fourier Transform Fourier Transform maps a time series (eg audio samples) into the series of frequencies (their amplitudes and phases) that composed the time series. 2 Wave Diffraction and the Reciprocal Lattice Diffraction of waves by crystals • The Bragg law Scattered wave amplitude • Fourier analysis • Reciprocal lattice vectors • Diffraction conditions • Laue equations Brillouin zones • Reciprocal lattice to sc/bcc/fcc lattices Fourier analysis of the basis. general Fourier Series around a jump discontinuity. Taking the inner product of both sides, with respect to the orthonormalized eigenfunctions X n (x) and the weight function w(x) = 1, and assuming validity of the interchange between the summation and integration operations, yields. We then state some important results about Fourier series. But what we're going to do in this case is we're going to add them. Definition of Fourier Series and Typical Examples Baron | {
"domain": "ddiy.pw",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9932024682484215,
"lm_q1q2_score": 0.8681356641475709,
"lm_q2_score": 0.8740772318846386,
"openwebmath_perplexity": 429.53024318361145,
"openwebmath_score": 0.8793695569038391,
"tags": null,
"url": "http://qkms.ddiy.pw/sawtooth-wave-fourier-series.html"
} |
do in this case is we're going to add them. Definition of Fourier Series and Typical Examples Baron Jean Baptiste Joseph Fourier \(\left( 1768-1830 \right)$$ introduced the idea that any periodic function can be represented by a series of sines and cosines which are harmonically related. This series is used to generate a sawtooth wave and values are calculated using the program l18a1. (iii) h(x) = ˆ 0 if 2 | {
"domain": "ddiy.pw",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9932024682484215,
"lm_q1q2_score": 0.8681356641475709,
"lm_q2_score": 0.8740772318846386,
"openwebmath_perplexity": 429.53024318361145,
"openwebmath_score": 0.8793695569038391,
"tags": null,
"url": "http://qkms.ddiy.pw/sawtooth-wave-fourier-series.html"
} |
# are these the only answers of $x^4+y^4+z^4+1=4xyz$?
Given an equation $$x^4+y^4+z^4+1=4xyz$$Find out the number of possible ordered tuple $(x,y,z)\mid x,y,z\in\Bbb{R}$.
I am getting it as $(1,1,1),(-1,-1,1),(1,-1,-1),(-1,1,-1)$ so $\boxed{4}$
Is there any other tuple which I am missing?
Any help will be appreciable !
• Looks fine. AM/GM gives that the absolute value of each of $x,y,z$ is 1. Apr 16, 2016 at 14:49
By Am/Gm we have $$\frac{x^4+y^4+z^4+1}{4}\geq xyz$$ . now we know the minima of arithmetic mean and maxima of geometric mean is achieved when numbers are equal or their $mod$ is equal as here $4$th power is used. Thus all positive $1$ or two negative $1$ are permissible hence total answers are $1+{3\choose 2}=1+3=4$ | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9893474907307123,
"lm_q1q2_score": 0.8681294467747658,
"lm_q2_score": 0.8774767762675405,
"openwebmath_perplexity": 283.73602828758305,
"openwebmath_score": 0.9092199206352234,
"tags": null,
"url": "https://math.stackexchange.com/questions/1745082/are-these-the-only-answers-of-x4y4z41-4xyz"
} |
# Linear Regression, with Map-Reduce
Sometimes, with big data, matrices are too big to handle, and it is possible to use tricks to numerically still do the map. Map-Reduce is one of those. With several cores, it is possible to split the problem, to map on each machine, and then to agregate it back at the end.
Consider the case of the linear regression, $\mathbf{y}=\mathbf{X}\mathbf{\beta}+\mathbf{\varepsilon}$ (with classical matrix notations). The OLS estimate of $\mathbf{\beta}$ is $\widehat{\mathbf{\beta}}=[\mathbf{X}^T\mathbf{X}]^{-1}\mathbf{X}^T\mathbf{y}$. To illustrate, consider a not too big dataset, and run some regression. | {
"domain": "hypotheses.org",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9873750529474512,
"lm_q1q2_score": 0.8680475845550756,
"lm_q2_score": 0.8791467659263148,
"openwebmath_perplexity": 3870.3878197329277,
"openwebmath_score": 0.6735536456108093,
"tags": null,
"url": "https://freakonometrics.hypotheses.org/53269"
} |
lm(dist~speed,data=cars)$coefficients (Intercept) speed -17.579095 3.932409 y=cars$dist X=cbind(1,cars$speed) solve(crossprod(X,X))%*%crossprod(X,y) [,1] [1,] -17.579095 [2,] 3.932409 How is this computed in R? Actually, it is based on the QR decomposition of $\mathbf{X}$, $\mathbf{X}=\mathbf{Q}\mathbf{R}$, where $\mathbf{Q}$ is an orthogonal matrix (ie $\mathbf{Q}^T\mathbf{Q}=\mathbb{I}$). Then $\widehat{\mathbf{\beta}}=[\mathbf{X}^T\mathbf{X}]^{-1}\mathbf{X}^T\mathbf{y}=\mathbf{R}^{-1}\mathbf{Q}^T\mathbf{y}$ solve(qr.R(qr(as.matrix(X)))) %*% t(qr.Q(qr(as.matrix(X)))) %*% y [,1] [1,] -17.579095 [2,] 3.932409 So far, so good, we get the same output. Now, what if we want to parallelise computations. Actually, it is possible. Consider $m$ blocks m = 5 and split vectors and matrices $$\mathbf{y}=\left[\begin{matrix}\mathbf{y}_1\\\mathbf{y}_2\\\vdots \\\mathbf{y}_m\end{matrix}\right]$$ and $$\mathbf{X}=\left[\begin{matrix}\mathbf{X}_1\\\mathbf{X}_2\\\vdots\\\mathbf{X}_m\end{matrix}\right]=\left[\begin{matrix}\mathbf{Q}_1^{(1)}\mathbf{R}_1^{(1)}\\\mathbf{Q}_2^{(1)}\mathbf{R}_2^{(1)}\\\vdots \\\mathbf{Q}_m^{(1)}\mathbf{R}_m^{(1)}\end{matrix}\right]$$ To split vectors and matrices, use (eg) Xlist = list() for(j in 1:m) Xlist[[j]] = X[(j-1)*10+1:10,] ylist = list() for(j in 1:m) ylist[[j]] = y[(j-1)*10+1:10] and get small QR recomposition (per subset) QR1 = list() for(j in 1:m) QR1[[j]] = list(Q=qr.Q(qr(as.matrix(Xlist[[j]]))),R=qr.R(qr(as.matrix(Xlist[[j]])))) Consider the QR decomposition of $\mathbf{R}^{(1)}$ which is the first step of the reduce part$$\mathbf{R}^{(1)}=\left[\begin{matrix}\mathbf{R}_1^{(1)}\\\mathbf{R}_2^{(1)}\\\vdots \\\mathbf{R}_m^{(1)}\end{matrix}\right]=\mathbf{Q}^{(2)}\mathbf{R}^{(2)}$$where$$\mathbf{Q}^{(2)}=\left[\begin{matrix}\mathbf{Q}^{(2)}_1\\\mathbf{Q}^{(2)}_2\\\vdots\\\mathbf{Q}^{(2)}_m\end{matrix}\right]$$ R1 = QR1[[1]]$R for(j in 2:m) R1 = rbind(R1,QR1[[j]]$R) Q1 = qr.Q(qr(as.matrix(R1))) R2 = qr.R(qr(as.matrix(R1))) Q2list=list() for(j in | {
"domain": "hypotheses.org",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9873750529474512,
"lm_q1q2_score": 0.8680475845550756,
"lm_q2_score": 0.8791467659263148,
"openwebmath_perplexity": 3870.3878197329277,
"openwebmath_score": 0.6735536456108093,
"tags": null,
"url": "https://freakonometrics.hypotheses.org/53269"
} |
Q1 = qr.Q(qr(as.matrix(R1))) R2 = qr.R(qr(as.matrix(R1))) Q2list=list() for(j in 1:m) Q2list[[j]] = Q1[(j-1)*2+1:2,] Define – as step 2 of the reduce part$$\mathbf{Q}^{(3)}_j=\mathbf{Q}^{(2)}_j\mathbf{Q}^{(1)}_j$$ and$$\mathbf{V}_j=\mathbf{Q}^{(3)T}_j\mathbf{y}_j$$ Q3list = list() for(j in 1:m) Q3list[[j]] = QR1[[j]]$Q %*% Q2list[[j]] Vlist = list() for(j in 1:m) Vlist[[j]] = t(Q3list[[j]]) %*% ylist[[j]] | {
"domain": "hypotheses.org",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9873750529474512,
"lm_q1q2_score": 0.8680475845550756,
"lm_q2_score": 0.8791467659263148,
"openwebmath_perplexity": 3870.3878197329277,
"openwebmath_score": 0.6735536456108093,
"tags": null,
"url": "https://freakonometrics.hypotheses.org/53269"
} |
and finally set – as the step 3 of the reduce part$$\widehat{\mathbf{\beta}}=[\mathbf{R}^{(2)}]^{-1}\sum_{j=1}^m\mathbf{V}_j$$
sumV = Vlist[[1]] for(j in 2:m) sumV = sumV+Vlist[[j]] solve(R2) %*% sumV [,1] [1,] -17.579095 [2,] 3.932409
It looks like we’ve been able to parallelise our linear regression…
## 6 thoughts on “Linear Regression, with Map-Reduce”
1. korul says:
How do I supposed to calculate inverse of R^(2), when R^(2) is a vector of matrices?
2. Stefano says:
Great post! One question: mathematically, can you explain – provide a reference for the explanation of – the step 2 of the reduce part (where the 2 Q matrices are multiplied)? Because I can follow through all steps, but I don’t understand *why* you create Q_j^(3) like this. Thanks!
3. Another interesting point is the trade-off between the number of nodes and the efficiency of the calculation. If you think about it – mode nodes *does not* mean faster running time.
I took the liberty of reproducing your results (in “tidyverse” code”) and added some notes on efficiency. I have an R notebook/markdown here: https://github.com/ytoren/reproducible/tree/master/linear-regression-map-reduce
Keep up the good work mate!
4. Awesome post!
I think you might have a typo :
You split Q2 to Q2list by:
> for(j in 1:m) Q2list[[j]] = Q1[(j-1)*2+1:2,]
And it should be
> for(j in 1:m) Q2list[[j]] = Q2[(j-1)*2+1:2,]
This site uses Akismet to reduce spam. Learn how your comment data is processed. | {
"domain": "hypotheses.org",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9873750529474512,
"lm_q1q2_score": 0.8680475845550756,
"lm_q2_score": 0.8791467659263148,
"openwebmath_perplexity": 3870.3878197329277,
"openwebmath_score": 0.6735536456108093,
"tags": null,
"url": "https://freakonometrics.hypotheses.org/53269"
} |
# 99 Bags of Apples and Oranges
You have $99$ bags, each containing various numbers of apples and oranges. Prove that there exist $50$ bags among these which together contain at least half the apples and at least half the oranges.
Needless to say, you may not add/remove fruits to/from the bags.
Clarification: I changed the wording from "you can grab $50$ bags..." to "there exist $50$ bags..."
Clarification from comments: each bag can contain any number of apples and any number of oranges with any total number of fruit; the total amount of fruit in a bag doesn't have to be the same for each bag.
• I suspect the presence of Pigeonhole principle... – leoll2 May 23 '15 at 14:29
• @ghosts_in_the_code can you provide a counterexample? – leoll2 May 23 '15 at 15:54
• @ghosts_in_the_code By various, I mean each bag can have any number of apples, any number of oranges, making any total. The bags do not need to all have the same number of fruits. – Mike Earnest May 23 '15 at 15:58
• Can the bags be empty? – Bob May 23 '15 at 16:09
• @Bob Yes, they can be empty. For example, if all bags were empty, then grabbing any $50$ bags works, since zero is at least half of zero. – Mike Earnest May 23 '15 at 16:12
Let $B_1,B_2,\dots,B_{99}$ be the bags, in increasing order of number of apples contained; say the number of apples in $B_i$ is $a_i$ for all $i$.
If our 50 bags grabbed are $B_{99}$, one of $B_{98}$ and $B_{97}$, one of $B_{96}$ and $B_{95}$, ..., and one of $B_2$ and $B_1$, then they must contain between them at least half of all apples, since at worst they contain $a_{99}+a_{97}+\dots+a_5+a_3+a_1\geq a_{98}+a_{96}+\dots+a_4+a_2+0$ apples.
Now how do we fix all those "one of"s? Just pick whichever of $B_{98}$ and $B_{97}$ has the more oranges, then whichever of $B_{96}$ and $B_{95}$ has the more oranges, and so on. Then our 50 selected bags - even excluding $B_{99}$! - must contain at least half of all oranges.
QED. | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9873750510899382,
"lm_q1q2_score": 0.8680475844852755,
"lm_q2_score": 0.8791467675095294,
"openwebmath_perplexity": 536.0966710893548,
"openwebmath_score": 0.6815144419670105,
"tags": null,
"url": "https://puzzling.stackexchange.com/questions/15412/99-bags-of-apples-and-oranges?noredirect=1"
} |
QED.
• QED indeed! I will certainly accept your answer, but I think I will wait a bit to see if other cool answers crop up as well. I know there are many distinct proofs methods, yours being the most constructive – Mike Earnest May 23 '15 at 21:23
Arrange the bags in a circle. I will call a collection of 50 consecutive bags a team (so there are 99 possible teams), and a team will be called appley if it contains at least half of the apples.
Define the opponent of a given team to be the team whose rightmost bag is the leftmost bag of the given team. For any given team, every bag is either a member of that team or a member of its opponent (and one bag is a member of both). This means that if a team is not appley, then its opponent is appley. Different teams have different opponents, so there must be at least as many appley teams as non-appley teams. There are 99 teams in total, so at least 50 of them are appley.
A similar argument shows that at least 50 teams are orangey (that is, at least 50 of the teams contain at least half the oranges). Of 99 teams, at least 50 are appley and at least 50 are orangey, so there must be at least one teams which is both appley and orangey (because $50+50>99$). This team consists of 50 bags, and contains at least half the apples and at least half the oranges. | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9873750510899382,
"lm_q1q2_score": 0.8680475844852755,
"lm_q2_score": 0.8791467675095294,
"openwebmath_perplexity": 536.0966710893548,
"openwebmath_score": 0.6815144419670105,
"tags": null,
"url": "https://puzzling.stackexchange.com/questions/15412/99-bags-of-apples-and-oranges?noredirect=1"
} |
• This is really cool! To elaborate: let $A$ be the set of appley teams, and $B$ be the set of teams whose opponents are appley. You showed $A\cup B$ is all $99$ teams (if a team is not appely, its opponent is). Since $|A|=|B|$, we have $99=|A\cup B|\le |A|+|B|=2|A|$, proving $|A|\ge 49.5,$ so $|A|\ge50$. – Mike Earnest May 24 '15 at 4:43
• "There are 99 teams in total, ..." - agreed (count possible common bags). You argument seems to put appley teams in 1:1 correspondence with non-appley teams by construction, implying an even total number of teams. How does that correspond with the odd number of teams? Cont'd ... – Lawrence May 24 '15 at 13:40
• ... cont'd. Simplified example: instead of 99 bags, say we have 3 bags $a,b,c$. Then we can have team pairs $[ab,bc], [bc,ca], [ca,ab]$. Suppose team $bc$ was appley. This would mean from the first two match-ups that both $ab$ and $ca$ were not appley. However, this makes the last match-up a team pair with two non-appley teams. Is this a failure of the assertion that "if a team is not appley, then its opponent is appley"? (By the way, other than this, I really like your proof. +1 ) – Lawrence May 24 '15 at 13:40
• @Lawrence If a team is non-appley, its opponent is appley. However, if a team is appley, we are not saying its opponent is non-appley (they could both be appley). As you pointed out, since there are an odd number of teams, there must at least one appley team whose opponent is also appley. – Julian Rosen May 24 '15 at 13:46
• @Lawrence no, different teams do have different opponents. Notice, however, that the opponent of the opponent of a team is not (quite) the original team, so you can't "pair them off" in the way you seem to be imagining. – Ben Millwood May 26 '15 at 14:35 | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9873750510899382,
"lm_q1q2_score": 0.8680475844852755,
"lm_q2_score": 0.8791467675095294,
"openwebmath_perplexity": 536.0966710893548,
"openwebmath_score": 0.6815144419670105,
"tags": null,
"url": "https://puzzling.stackexchange.com/questions/15412/99-bags-of-apples-and-oranges?noredirect=1"
} |
Suppose you have 50 bags on the ground and 49 in the truck, and suppose the ones on the ground have more apples. One at a time, take a bag from the ground and put it in the truck, and put one from the truck tand place it on the ground. Keep doing this with the goal of totally swapping ground and truck bags.
Eventually, you'll reach a point where moving a "magic" bag causes the truck to have more apples than the ground. At this point, both the ground plus the magic bag has at least half the apples, AND the truck plus the magic bag has at least half the apples. Either the ground or the truck ( plus the magic bag ) has at least half the oranges too.
I will provide a probabilistic proof. By demonstrating that picking randomly has a nonzero chance of success, we can show that a solution exists. (http://en.m.wikipedia.org/wiki/Probabilistic_method)
Claim: A random subset of 50 bags has over 50% chance of having more than half the apples. (Chosen uniformly over all size 50 subsets.)
Proof: For each "losing" size 50 subset, flip it around to get a (unique) winning size 49 subset. This means there are at least as many size 49 winning sets as size 50 losing sets. There are multiple ways to extend these to size 50 sets, so there's strictly more ways to win than lose. (Hand waving a bit)
This argument applies symmetrically to the oranges. Since each probability is over 1/2, they must have a nonzero intersection.
Thus there is a positive probability of picking a subset with at least half of each, so a solution exists.
Nonconstructively useless, but QED :)
Edit: looking back, this is just saying that the intersection of sets larger than 50% is nonempty, so the probabilistic part is just fluff. | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9873750510899382,
"lm_q1q2_score": 0.8680475844852755,
"lm_q2_score": 0.8791467675095294,
"openwebmath_perplexity": 536.0966710893548,
"openwebmath_score": 0.6815144419670105,
"tags": null,
"url": "https://puzzling.stackexchange.com/questions/15412/99-bags-of-apples-and-oranges?noredirect=1"
} |
• It's far from trivial that you can extend all 49-subsets of a 99-set into 50-subsets by addition of a single element in such a way that you don't accidentally extend two 49-subsets into the same 50-subset (it's certainly impossible to extend 50-subsets into 51-subsets this way, for example, because there aren't as many of them). – Ben Millwood May 26 '15 at 16:26
• I mean, it IS true. But it requires Hall's Marriage Theorem, unless you have an ingenious construction. – Ben Millwood May 26 '15 at 16:29
Suppose we choose 50 of the bags at random. We are choosing more than half of the bags, so the probability that the bags we selected contain at least half of the apples is strictly greater than 50%. Similarly, the probability that the bags we selected contain at least half of the oranges is also greater than 50%. This means there is a positive probability that the bags we selected contain at least half the apples and at least half the oranges. In particular, there must be some combination of 50 bags containing at least half the apples and at least half the oranges.
Edit: As pointed out in the comments, it is not obvious why the bags we select will have at least half the apples with probability greater than 50%. This actually follows from the argument in my other answer: one way to choose 50 bags at random is first to choose a cyclic ordering of the bags, then to choose 50 consecutive bags. My other answer shows that for whichever cyclic ordering we choose, a random choice of 50 consecutive bags contains at least half the apples with probability at least $\frac{50}{99}$. This means that a random selection of 50 bags contains at least half the apples with probability at least $\frac{50}{99}$. The same is true for oranges, so a random selection of 50 bags contains at least half the apples and at least half the oranges with probability at least $\frac{1}{99}$. | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9873750510899382,
"lm_q1q2_score": 0.8680475844852755,
"lm_q2_score": 0.8791467675095294,
"openwebmath_perplexity": 536.0966710893548,
"openwebmath_score": 0.6815144419670105,
"tags": null,
"url": "https://puzzling.stackexchange.com/questions/15412/99-bags-of-apples-and-oranges?noredirect=1"
} |
• I think the statement We are choosing more than half of the bags, so the probability that the bags we selected contain at least half of the apples is strictly greater than 50%, needs more justification. – Mike Earnest May 23 '15 at 19:44
• This isn't a very rigorous proof. First of all, you must justify your probability statements, then you might provide an algorithm of optimal choosing (not required, but strongly suggested). – leoll2 May 23 '15 at 20:52
• I was expecting it to be clear why the probability of getting at least half the apples was bigger than 50%, but I didn't think this part through and I agree that it isn't clear why this is the case. – Julian Rosen May 24 '15 at 3:40
• Using the probabilistic approach, leaves a possibility that there will not be a desired solution. We need to have 100% probability that a desired case will be found. – Moti May 25 '15 at 17:59
• @Moti If the probability that a random object has a certain property is greater than 0, then it is certain there is at least one object with that property. – Julian Rosen May 25 '15 at 18:54 | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9873750510899382,
"lm_q1q2_score": 0.8680475844852755,
"lm_q2_score": 0.8791467675095294,
"openwebmath_perplexity": 536.0966710893548,
"openwebmath_score": 0.6815144419670105,
"tags": null,
"url": "https://puzzling.stackexchange.com/questions/15412/99-bags-of-apples-and-oranges?noredirect=1"
} |
# Triangle inscribed within a unit circle
A triangle $ABC$ is inscribed within the unit circle. Let $x$ be the measure of the angle $C$. Express the length of $AB$ in terms of $x$.
A.) $2\sin x$
B.) $\cos x + \sin x - 1$
C.) $\sqrt{2}(1 - \cos 2x)$
D.) $\sqrt{2}(1 - \sin x)$
I am unsure how to illustrate the circle and calculate the length $x$.
Thank you. `
• Please read this tutorial about how to typeset mathematics on this site. – N. F. Taussig Jun 18 '17 at 8:55
$$\dfrac{AB}{\sin x}=2R$$ where $R$ is the circum-radius $=1$
• This solution is based on the Law of Sines. – N. F. Taussig Jun 18 '17 at 9:11
• @N.F.Taussig, Thanks for enriching the answer – lab bhattacharjee Jun 18 '17 at 9:12
The angle $AOB=2x$, since it intercepts the same arc than the angle $CAB=x$.
thus by the well-known formula
$$AB^2=OA^2+OB^2$$ $$-2OA.OB.\cos (2x)$$ with
$$OA=OB=radius=1$$
hence
$$AB^2=2 (1-\cos (2x))$$
$$=4\sin^2 (x)$$ and $$\boxed {AB=2\sin (x) }$$ | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9873750518329434,
"lm_q1q2_score": 0.8680475773223533,
"lm_q2_score": 0.8791467595934565,
"openwebmath_perplexity": 449.2969065905559,
"openwebmath_score": 0.8868478536605835,
"tags": null,
"url": "https://math.stackexchange.com/questions/2326813/triangle-inscribed-within-a-unit-circle"
} |
# Density of positive multiples of an irrational number
Let $x$ be irrational. Use $\{r\}$ to denote the fractional part of $r$: $\{r\} = r - \lfloor r \rfloor$. I know how to prove that the following set is dense in $[0,1]$: $$\{\{nx\} : n \in \mathbb{Z}\}.$$ But what about $$\{\{nx\} : n \in \mathbb{N}\}?$$ Any proof that I’ve seen of the first one fails for the second one.
A minor modification of the pigeonhole argument works. Let $m$ be any positive integer. By the pigeonhole principle there must be distinct $i,j\in\{1,\dots,m+1\}$ and $k\in\{0,\dots,m-1\}$ such that $\frac{k}m\le\{ix\},\{jx\}<\frac{k+1}m$; clearly $\{|(j-i)x|\}<\frac1m$. Let $\ell$ be the largest positive integer such that $\ell\{|(j-i)x|\}<1$, let $A_m=\{n|j-i|x:0\le n\le\ell\}$, and let $D_m=\big\{\{y\}:y\in A_m\big\}$.
If $x>0$, every point of $[0,1)$ is clearly within $\frac1m$ of $A_m=D_m$. If $x<0$, then
$$D_m=\{1-|y|:y\in A_m\}\;,$$
so every point of $[0,1)$ is again within $\frac1m$ of the set $D_m$. Since $D_m\subseteq\big\{\{nx\}:n\in\Bbb N\big\}$, we’re done.
• I hope you don't mind how close my answer is to yours, but I had written an answer for someone in chat and was going to post it elsewhere, then saw this question was a better fit.
– robjohn
Jul 20, 2021 at 20:58
• @robjohn: No problem: someone may benefit from the greater detail. Jul 21, 2021 at 2:39
• Can you give more details why if $x>0$ then every ppint of $[0,1)$ is clearly within $1/m$ of $A_m$.
– ZFR
Jul 30, 2021 at 2:29
• @ZFR: Adjacent points of $A_m$ are less than $\frac1m$ apart. Every point of $[0,1)$ is either equal to one of these points, between two adjacent ones, or between $\ell\{|(j-i)x|\}$ and $1$ and hence less than $\frac1m$ from some point of $A_m$. Jul 31, 2021 at 22:00
Here is a proof where the second statement follows from the first with a minor step. I wrote this answer for another question, but then I saw it fit here better, other than being along very similar lines to Brian M. Scott's answer. | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9911526451784086,
"lm_q1q2_score": 0.8680385982047081,
"lm_q2_score": 0.8757869965109765,
"openwebmath_perplexity": 114.42235389496506,
"openwebmath_score": 0.8920701742172241,
"tags": null,
"url": "https://math.stackexchange.com/questions/1624387/density-of-positive-multiples-of-an-irrational-number"
} |
Let $$r$$ be irrational. Choose an arbitrary $$n\in\mathbb{N}$$. Partition $$[0,1)$$ into $$n$$ subintervals $$\left\{I_k=\left[\frac{k-1}n,\frac kn\right):1\le k\le n\right\}\tag1$$ Consider the discrete set $$\{\{kr\}:0\le k\le n\}\subset[0,1)$$. There are $$n+1$$ elements in this set, so two of them must lie in the same subinterval. That means that we have $$k_1\ne k_2$$ so that $$\{(k_1-k_2)r\}\in\left(0,\frac1n\right)$$, we leave $$0$$ out of the interval because $$r$$ is irrational.
Let $$m=\left\lfloor\frac1{\{(k_1-k_2)r\}}\right\rfloor$$, then because $$m$$ is the greatest integer not greater than $$\frac1{\{(k_1-k_2)r\}}$$, $$m\{(k_1-k_2)r\}\!\!\overset{\substack{r\not\in\mathbb{Q}\\\downarrow}}{\lt}\!\!1\lt(m+1)\{(k_1-k_2)r\}\tag2$$ which implies that $$\{m(k_1-k_2)r\}=m\{(k_1-k_2)r\}\in\left(\frac{n-1}n,1\right)$$.
Since $$\{(k_1-k_2)r\}\in\left(0,\frac1n\right)$$, if $$j\{(k_1-k_2)r\}\in I_k$$, then $$(j+1)\{(k_1-k_2)r\}\in I_k\cup I_{k+1}$$; that is, $$\{j(k_1-k_2)r\}=j\{(k_1-k_2)r\}$$ cannot skip over any of the $$I_k$$. Therefore, $$\left\{\{j(k_1-k_2)r\}:1\le j\le m\vphantom{\frac12}\right\}\tag3$$ must have at least one element in each $$I_k$$ for $$1\le k\le n$$.
The only problem is that we don't know that $$k_1-k_2\gt0$$. However, this is not a problem since $$\{j(k_1-k_2)r\}\in I_k\iff\{j(k_2-k_1)r\}\in I_{n+1-k}$$. Therefore, $$\left\{\{j(k_2-k_1)r\}:1\le j\le m\vphantom{\frac12}\right\}\tag4$$ must also have at least one element in each $$I_k$$ for $$1\le k\le n$$.
Since $$n$$ was arbitrary, we have shown that $$\left\{\mathbb{N}r\right\}$$ is dense in $$[0,1]$$. | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9911526451784086,
"lm_q1q2_score": 0.8680385982047081,
"lm_q2_score": 0.8757869965109765,
"openwebmath_perplexity": 114.42235389496506,
"openwebmath_score": 0.8920701742172241,
"tags": null,
"url": "https://math.stackexchange.com/questions/1624387/density-of-positive-multiples-of-an-irrational-number"
} |
Since $$n$$ was arbitrary, we have shown that $$\left\{\mathbb{N}r\right\}$$ is dense in $$[0,1]$$.
• Thanks a lot professor Robjohn for answering my question. I was having lot of difficulty understanding $k_2\gt k_1$ case. It all makes sense to me now. Many thanks :) I would only like to add this little more detail for statement just before $(3)$ in the hope that it will benefit those who visit this great answer in future: Suppose on the contrary that for some $k<n$, the subinterval $(\frac{k-1}n, \frac kn )$ doesn't contain any element of the set $T=\{ j\{(k_2-k_1)r\}: 1\le j\le m\}$. (Contd.)
– Koro
Jul 21, 2021 at 3:55
• (Contd.) Note that $T_L=\{j: j\{(k_2-k_1)r\}\le \frac{k-1}n\}$ is non-empty and therefore $T_L$ has a maximal element $M\in \mathbb N$ that is $(M+1)\{(k_2-k_1)r\}\ge \frac kn$ and $M\{(k_2-k_1)r\}\le \frac{k-1}n$ and subtracting the two, we get: $\{(k_2-k_1)r\}\ge \frac 1n$, which is a contradiction. Therefore no subinterval $I_k$ can be free of elements from $\{\mathbb N r\}$.
– Koro
Jul 21, 2021 at 3:56
• Really nice answer which helped me to understand the problem. But I think you can assume $r$ to be any real irrational number from the beginning of the solution.
– ZFR
Jul 29, 2021 at 22:25
• @ZFR: You know, I modified this so many times while writing it, and now it seems you are correct; there is no reason for $r\gt0$, so I have removed that constraint.
– robjohn
Jul 30, 2021 at 2:40
• Thanks a lot for your answer! To be honest I've spent on this problem about 2-3 days and eventually your solution helped me to understand it completely. Thanks! +1
– ZFR
Jul 30, 2021 at 15:42
Really? I thought exactly the same proof worked for $\Bbb N$.
Let $k\in\Bbb Z$ with $k\ne 0$ and define $$f(t)=e^{2\pi ikt}.$$ | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9911526451784086,
"lm_q1q2_score": 0.8680385982047081,
"lm_q2_score": 0.8757869965109765,
"openwebmath_perplexity": 114.42235389496506,
"openwebmath_score": 0.8920701742172241,
"tags": null,
"url": "https://math.stackexchange.com/questions/1624387/density-of-positive-multiples-of-an-irrational-number"
} |
Let $k\in\Bbb Z$ with $k\ne 0$ and define $$f(t)=e^{2\pi ikt}.$$
Then $f$ has period $1$, and $$\frac1N\sum_{n=0}^{N-1}f(nx) =\frac1N\sum_{n=0}^{N-1}\left(e^{2\pi ikx}\right)^n=\frac1N \frac{e^{2\pi ikxN}-1}{e^{2\pi ikx}-1}\to0\quad(N\to\infty).$$ So the usual approximation shows that $$\frac1N\sum_{n=0}^{N-1}f(nx)\to\int_0^1 f(t)\,dt$$for $f\in C(\Bbb T)$ and you're done, as usual.
How is this any different from the case $n\in\Bbb Z$?
• How does that imply that $\{ \exp (2\pi i {n x}) :n\in N\}$ is dense in the unit circle in $C$ ? Anyway, a proof from the most elementary method works for N just as well as for Z. Jan 24, 2016 at 5:33
• @user254665 Say those points are not dense. There is then an interval, or arc, $I$ on the circle that contains none of the points. Take $f\in C(\Bbb T)$ such that $f=0$ on the complement of $I$ but $\int f > 0$. Then $\frac1N\sum_0^{N-1}f(nx)=0$ for every $N$, so it does not converge to $\int f$. (Yes, the pigeonhole argument works as well. I really can't think of an argument that works for $n\in\Bbb Z$ but not $\Bbb N$. In any case, ignoring the question of which is simpler, this argument shows more than just that the points are dense, it shows they are asymptotically uniformly distributed.) Jan 24, 2016 at 14:21
• very nice integral proof, which yields extra info (distribution) too. Jan 24, 2016 at 20:10
• @user254665 Yes it is very nice. The equidistribution is Weyl's theorem - I think it's his proof, not sure, in any case it's a standard thing. Jan 24, 2016 at 21:27 | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9911526451784086,
"lm_q1q2_score": 0.8680385982047081,
"lm_q2_score": 0.8757869965109765,
"openwebmath_perplexity": 114.42235389496506,
"openwebmath_score": 0.8920701742172241,
"tags": null,
"url": "https://math.stackexchange.com/questions/1624387/density-of-positive-multiples-of-an-irrational-number"
} |
# Which payoff do you want to go for?
Consider a game where you have to choose between 1 of 2 payoffs:
Payoff 1. You toss 100 coins.
You get $1 for each Head that appears. Payoff 2. You toss 10 coins. You get$10 for each Head that appears.
Which payoff structure would you choose? And why?
Note by Calvin Lin
3 years, 10 months ago
MarkdownAppears as
*italics* or _italics_ italics
**bold** or __bold__ bold
- bulleted- list
• bulleted
• list
1. numbered2. list
1. numbered
2. list
Note: you must add a full line of space before and after lists for them to show up correctly
paragraph 1paragraph 2
paragraph 1
paragraph 2
[example link](https://brilliant.org)example link
> This is a quote
This is a quote
# I indented these lines
# 4 spaces, and now they show
# up as a code block.
print "hello world"
# I indented these lines
# 4 spaces, and now they show
# up as a code block.
print "hello world"
MathAppears as
Remember to wrap math in $$...$$ or $...$ to ensure proper formatting.
2 \times 3 $$2 \times 3$$
2^{34} $$2^{34}$$
a_{i-1} $$a_{i-1}$$
\frac{2}{3} $$\frac{2}{3}$$
\sqrt{2} $$\sqrt{2}$$
\sum_{i=1}^3 $$\sum_{i=1}^3$$
\sin \theta $$\sin \theta$$
\boxed{123} $$\boxed{123}$$
Sort by:
I assume each coin toss is independent from one another (so the covariance between each coin toss is zero), and used only fair coins.
Yes, the expected Payoff is the same for ONE and TWO. But their variance differ.
$V_1 = \text { Probability } \times \text { Payoff ONE }^2 \times \text { Number of trials } = \frac {1}{2} \times 1^2 \times 100 = 50$
$V_2 = \text { Probability } \times \text { Payoff TWO }^2 \times\text { Number of trials } = \frac {1}{2} \times 10^2 \times 10 = 500$
Because Payoff TWO has a higher variance which is not desired, I will go with Payoff ONE.
$\text{ I learned from the best tutor }$
- 3 years, 10 months ago
What term do we use to describe a person who choses to "minimize variance when expected value is equal"? | {
"domain": "brilliant.org",
"id": null,
"lm_label": "1. YES\n2. YES\n\n",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9783846722794542,
"lm_q1q2_score": 0.8680273669149461,
"lm_q2_score": 0.8872045847699186,
"openwebmath_perplexity": 2656.1427826983536,
"openwebmath_score": 0.9702968597412109,
"tags": null,
"url": "https://brilliant.org/discussions/thread/which-payoff-do-you-want-to-go-for/"
} |
Your answer greatly depends on what it is that we wish to maximize / minimize. There could be people who may want to maximize variance, because of the higher likelihood of a huge payoff that they care about.
Staff - 3 years, 10 months ago
What term do we use to describe a person who choses to "minimize variance when expected value is equal"?
Risk-averse investor
- 3 years, 10 months ago
Let me try.
Payoff 1. Chance to get head for all coins = 1 out of 10^{200} = Chance to get $100 in terms of$1.
Payoff 2. Chance to get head for all coins = 1 out of 10^{10} = Chance to get $100 in terms of$10.
Thus, I think Payoff 2 is better.
- 3 years, 10 months ago
This is optimistic way I guess
- 3 years, 10 months ago
That's a valid argument if your goal is to "maximize the probability of the highest payoff".
Since getting $99,$98, ... $91 is somewhat similar to getting$100, would this affect your answer? Why, or why not?
Note that the payoff 1 should be "10 ^ {100}"
Staff - 3 years, 10 months ago | {
"domain": "brilliant.org",
"id": null,
"lm_label": "1. YES\n2. YES\n\n",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9783846722794542,
"lm_q1q2_score": 0.8680273669149461,
"lm_q2_score": 0.8872045847699186,
"openwebmath_perplexity": 2656.1427826983536,
"openwebmath_score": 0.9702968597412109,
"tags": null,
"url": "https://brilliant.org/discussions/thread/which-payoff-do-you-want-to-go-for/"
} |
Note that the payoff 1 should be "10 ^ {100}"
Staff - 3 years, 10 months ago
The probability of getting payoff between 91$to 100$ increases in the first case. Hence, if I consider myself satiated by $99,$98, ... $91, I'd prefer case 1. - 3 years, 10 months ago Log in to reply It's less of a hassle to toss 10 coins. If we compare this to stocks, it's easier to keep a portfolio of10 stocks than 100 stocks. And lower commissions. The risk of loss is higher, but the chance of higher returns is better too. - 3 years, 10 months ago Log in to reply That's a good point! We might need to factor in convenience / the cost of making a flip! Can you clarify what you mean by "chance of higher returns is better too"? How do you quantify that? Staff - 3 years, 10 months ago Log in to reply Earlier posters have quantified the variance for the smaller vs. the larger set of coins. For the set of 10 coins, the chance of getting more than 9 heads is 1 in 1024. For the set of 100 coins, the chance of getting more than 90 coins is much lower than that. I'd have to get my combinatorics (or statistics) hat on to quantify it, but it's much less. On the order of more than 5-sigma from the mean. For stocks, a stock club (or newsletter writer) would be silly to buy 1 share each of the 500 largest companies. A number of funds exists to do that with much less expense. If they want to try to beat the performance of the S&P 500, they pick a small number of stocks (using some rational criteria) and often do better than the "market". Of course, the risk of loss (or underperformance) is higher too. - 3 years, 10 months ago Log in to reply Expected outcome is same in both cases ,but in case 1 chances are that outcome is more closer to 50$ than in case2, So for more standard outcome I will choose case1.
For suppose if my need demands 60$I would choose case 2. CASE1 Chances to get 50$ is 100C50 *.5^{100}=.0786
49$is 100C49*.5^{100 }=.0780 (same for 51$) | {
"domain": "brilliant.org",
"id": null,
"lm_label": "1. YES\n2. YES\n\n",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9783846722794542,
"lm_q1q2_score": 0.8680273669149461,
"lm_q2_score": 0.8872045847699186,
"openwebmath_perplexity": 2656.1427826983536,
"openwebmath_score": 0.9702968597412109,
"tags": null,
"url": "https://brilliant.org/discussions/thread/which-payoff-do-you-want-to-go-for/"
} |
49$is 100C49*.5^{100 }=.0780 (same for 51$)
For 60$it is .0108 By similar calculations(and adding), chances to get outcome from 40$ to 60$is .946. where as in case 2 chances reduce to .656 this proves that there are more chances to get outcome closer to 50$ in case 1.
probabilities to get 60$are 0.108 for case 1 .205 for case 2. So, if 60$ is my need I will choose case 2
- 3 years, 10 months ago
You bring up a valid point, which is "What is the utility function that I care about". If the utility function is just "I only care if I have more than $60 or not", then your approach shows that we should go for payoff 2. What kind of utility function makes sense? Do people value all amounts of money equally? Staff - 3 years, 10 months ago Log in to reply They average out to the same payoff (which is$50.00), so I would flip a coin to decide which to use.
Python:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 import random coin = (True, False) def sim_1(): payoff = 0 for flip in xrange(100): if random.choice(coin): payoff += 1 return payoff def sim_2(): payoff = 0 for flip in xrange(10): if random.choice(coin): payoff += 10 return payoff trials = 100000 payoff_1 = 0.0 payoff_2 = 0.0 for trial in xrange(trials): payoff_1 += sim_1() payoff_2 += sim_2() print "Payoff 1:", payoff_1 / trials print "Payoff 2:", payoff_2 / trials
- 3 years, 10 months ago
what good
- 3 years, 10 months ago
If i understand the problem correctly, would be indifferent to the payoffs structure, cause both options give the same expected value which would be 50.
- 3 years, 10 months ago
playoff 1
- 3 years, 10 months ago
I think payoff 1 is better because chances increses with more no of toss..
- 3 years, 10 months ago | {
"domain": "brilliant.org",
"id": null,
"lm_label": "1. YES\n2. YES\n\n",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9783846722794542,
"lm_q1q2_score": 0.8680273669149461,
"lm_q2_score": 0.8872045847699186,
"openwebmath_perplexity": 2656.1427826983536,
"openwebmath_score": 0.9702968597412109,
"tags": null,
"url": "https://brilliant.org/discussions/thread/which-payoff-do-you-want-to-go-for/"
} |
I think payoff 1 is better because chances increses with more no of toss..
- 3 years, 10 months ago
In my opinion, it's a matter of risk: payoff 1 has more consistency but less probability of scoring extremely large amounts of money, whereas payoff 2 is a sort of high risk high reward model where you either get a lot or get a bit. Personally, I would choose payoff 1.
- 3 years, 10 months ago | {
"domain": "brilliant.org",
"id": null,
"lm_label": "1. YES\n2. YES\n\n",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9783846722794542,
"lm_q1q2_score": 0.8680273669149461,
"lm_q2_score": 0.8872045847699186,
"openwebmath_perplexity": 2656.1427826983536,
"openwebmath_score": 0.9702968597412109,
"tags": null,
"url": "https://brilliant.org/discussions/thread/which-payoff-do-you-want-to-go-for/"
} |
Pay off 2, because it will likely to get heads more often and earn $10 for each head than 100 coin tosses. Who knows that in a toss of 100 you will only get less than 50% heads. - 3 years, 10 months ago Log in to reply Payoff 2 because I'll make decent money and i Don't have time to flip 100 coins. Stop over complicating things with math people. - 3 years, 10 months ago Log in to reply I will chose payoff 2 because while tossing coins 10 time we may get HEAD more than 1 or 2 times and the pay is more. But in payoff 1 tossing coins 100 times may give a HEAD 20 times and u get 20$. But in payoff 2 you can get more than 20$. - 3 years, 10 months ago Log in to reply Payoff 2 as it takes less time to toss 10 coins and the value is same for both - 3 years, 9 months ago Log in to reply What are the statistics given that heads side of a coin is slightly heavier than tails? Giving tails more of a chance of facing up? Is that true? I heard that somewhere back maybe in 4th grade haha. Or has that been proven incorrect? if it is true, I would rather chose b since I would want less of a chance of getting tails side up? Can you explain to me how I am wrong (I probably am) like you would explain it to a 3rd grader? This is why I'm more of an artist than math person. - 3 years, 6 months ago Log in to reply That is a very good point. How would your answer change if we didn't have a fair coin? For example, if the coin was totally biased and only gave tails, then both payoffs are the same. Similarly, if the coin was totally biased and only gave heads, then both payoffs are the same. But in between, the payoffs are different. So, does that mean that the answer could change depending on the probability of head/tail? If so, how and why? How is payoff 2 "less chance of getting tails side up"? Just because of the absolute number? But, the first mostly likely has many more heads appearing, just a smaller payoff each time. Staff - 3 years, 6 months ago Log in to reply Less probability of a | {
"domain": "brilliant.org",
"id": null,
"lm_label": "1. YES\n2. YES\n\n",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9783846722794542,
"lm_q1q2_score": 0.8680273669149461,
"lm_q2_score": 0.8872045847699186,
"openwebmath_perplexity": 2656.1427826983536,
"openwebmath_score": 0.9702968597412109,
"tags": null,
"url": "https://brilliant.org/discussions/thread/which-payoff-do-you-want-to-go-for/"
} |
just a smaller payoff each time. Staff - 3 years, 6 months ago Log in to reply Less probability of a heads since the gravitational pull of the heavier side. Sorry I missed stated. On the other hand, my fiance makes a good point. The more you flip a coin your results are more likely to reflect the chance of a 50/50 so it is better and more reliable to flip more times than less so option 1 of 100 flips is more reliable then just 10 in case you get a lucky streak of a ten or an unlucky streak with only 2 out of 10. - 3 years, 6 months ago Log in to reply As it turns out, the Expected Value of both payoffs would be the same, regardless of the probability of landing heads / tails. For example, if the coin is fair, and it will land heads 50% of the time, then the expected payoff in 1 is$50, and the expected payoff in 2 is \$50. More generally, if it land heads $$p%$$ of the time, then the expected payoff will be $$p$$. | {
"domain": "brilliant.org",
"id": null,
"lm_label": "1. YES\n2. YES\n\n",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9783846722794542,
"lm_q1q2_score": 0.8680273669149461,
"lm_q2_score": 0.8872045847699186,
"openwebmath_perplexity": 2656.1427826983536,
"openwebmath_score": 0.9702968597412109,
"tags": null,
"url": "https://brilliant.org/discussions/thread/which-payoff-do-you-want-to-go-for/"
} |
So, the question then becomes, pick your favorite probability $$p$$ of landing heads, which payoff would you want? Is there anything else to consider?
Staff - 3 years, 6 months ago
Payoff 1 so that I can get more number of chances
- 3 years, 10 months ago
I'd go for #2. I'm a risktaker.
- 3 years, 9 months ago
You will still need to define what you mean by "risktaker". There are possible definitions of "risktaker" which would make option 1 more valuable to them.
Staff - 3 years, 9 months ago | {
"domain": "brilliant.org",
"id": null,
"lm_label": "1. YES\n2. YES\n\n",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9783846722794542,
"lm_q1q2_score": 0.8680273669149461,
"lm_q2_score": 0.8872045847699186,
"openwebmath_perplexity": 2656.1427826983536,
"openwebmath_score": 0.9702968597412109,
"tags": null,
"url": "https://brilliant.org/discussions/thread/which-payoff-do-you-want-to-go-for/"
} |
# Show there can't be two real and distinct roots of polynomial $f(x)=x^3-3x+k$ in $(0,1)$, for any value of k.
I have two proofs here one which I did and the other was given in book. Is one better than the other? I am asking for in an exam setting which proof makes a better solution(as in fetch more marks).
## Proof 1 (My proof)
$$f'(x)=3x^2-3$$, in the interval $$(0,1)$$ is less than $$0$$. If there were two distinct roots then $$f'(0)$$ should have been $$0$$ once in $$(0,1)$$ by rolle's theorem. Since it isn't there are no values of $$k$$ for which there are two real roots.
## Proof 2 (Book)
Let $$a,b$$ be two roots of $$f(x)$$ in $$(0,1)$$ then there exists a $$c$$ such the $$f'(c) = 0$$ for c in $$[a,b]$$ by Rolle's theorem. $$f'(c)= 3c^2-3$$ has no solutions in $$(0,1)$$ hence there is no such value of $$k$$.
• Yours is better because the book version has a wrong expression for $f'$ – Hagen von Eitzen Jun 11 at 6:09
• – lab bhattacharjee Jun 11 at 6:16
• @HagenvonEitzen that's a typo sorry. – Sonal_sqrt Jun 11 at 6:26 | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9783846621952493,
"lm_q1q2_score": 0.8680273579681933,
"lm_q2_score": 0.8872045847699186,
"openwebmath_perplexity": 186.15686257037427,
"openwebmath_score": 0.8186616897583008,
"tags": null,
"url": "https://math.stackexchange.com/questions/3258275/show-there-cant-be-two-real-and-distinct-roots-of-polynomial-fx-x3-3xk-in"
} |
# How to factorize this cubic equation?
In one of the mathematics book, the author factorized following term
$$x^3 - 6x + 4 = 0$$ to
$$( x - 2) ( x^2 + 2x -2 ) = 0.$$
How did he do it?
• If there is a cube term, it is not a quadratic. Also, a method for finding divisors of your polynomial, look at the factors of the constant term. – Edward Evans Jan 28 '17 at 19:52
• $x=2$ is a root of this equation. Then by polynomial division of $\frac{x^3-6x+4}{x-2}$ we obtain $x^2+2x-2$. – projectilemotion Jan 28 '17 at 19:53
• Do you know the Rational Root Test? – Bill Dubuque Jan 28 '17 at 19:54
• A common first step for introductory problems is to guess and check certain integers close to zero to see if it will equal zero. Zero is the easiest to check because that would mean the constant term is zero, thats not the case here. $1$ doesn't work because that would be $1-6+4=-1\neq 0$. $2$ happens to work since this would be $2^3-6\cdot 2 + 4 = 8-12+4=0$. Since $2$ works, we know that the equation can be factored as $(x-2)q(x)$ where $q(x)=\frac{x^3-6x+4}{x-2}$. In general this won't always work, especially if the roots aren't even integers. Cardano's formula would help then. – JMoravitz Jan 28 '17 at 19:54
• @BillDubuque No – Govinda Sakhare Jan 28 '17 at 19:56
There is a neat trick called the rational roots theorem. All we have to do is factor the first and last numbers, put them over a fraction, and take $\pm$. This gives us the following possible rational roots:
$$x\stackrel?=\pm1,\pm2,\pm4$$
due to the factorization of $4$. Checking these, it is clear $x=2$ is the only rational root, since
\begin{align}0&\ne(+1)^3-6(+1)+4\\0&\ne(-1)^3-6(-1)+4\\\color{#4488dd}0&=\color{#4488dd}{(+2)^3-6(+2)+4}\\0&\ne(-2)^3-6(-2)+4\\0&\ne(+4)^3-6(+4)+4\\0&\ne(-4)^3-6(-4)+4\end{align}
leaving us with
$$x^3-6x+4=(x-2)(\dots)$$
We can find the remainder through synthetic division:
$$\begin{array}{c|c c}2&1&0&-6&4\\&\downarrow&2&4&-4\\&\hline1&2&-2&0\end{array}$$ | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9766692264378964,
"lm_q1q2_score": 0.8680233575747336,
"lm_q2_score": 0.8887587875995483,
"openwebmath_perplexity": 315.72851065386436,
"openwebmath_score": 0.733822226524353,
"tags": null,
"url": "https://math.stackexchange.com/questions/2118291/how-to-factorize-this-cubic-equation"
} |
$$\begin{array}{c|c c}2&1&0&-6&4\\&\downarrow&2&4&-4\\&\hline1&2&-2&0\end{array}$$
which gives us our factorization:
$$x^3-6x+4=(x-2)(x^2+2x-2)$$
• OP does not know RRT - see the comments. – Bill Dubuque Jan 28 '17 at 19:59
• @BillDubuque Oh. Then give me a moment – Simply Beautiful Art Jan 28 '17 at 20:00
• @SimplyBeautifulArt Why 1,2 and 4. Why are we not checking equation with value 3? it has anything to do with c term ax^3+bx+c ? – Govinda Sakhare Jan 28 '17 at 20:09
• @piechuckerr By the rational roots theorem, I need only check the factors of the last constant if the leading coefficient is $1$. $3$ does not divide into $4$, so I needn't check it. – Simply Beautiful Art Jan 28 '17 at 20:10
• @SimplyBeautifulArt i.e if constant term is 6 then 1,2,3 and 6 right? – Govinda Sakhare Jan 28 '17 at 20:12
Since you do not know the Rational Root Test, let's consider a simpler case: the Integer Root Test.
If $\,f(x)= x^3+6x+4\,$ has an integer root $\,x=n\,$ then $\,n^3+6n+4 = 0\,$ so $\,(n^2+6)\,\color{#c00}{n = -4},\,$ hence $\,\color{#c00}{n\ \ {\rm divides}\ \ 4}.\,$ Testing all the divisors of $4$ shows that $2$ is root, hence $\,x-2\,$ is a factor of $f$ by the Factor Theorem. The cofactor $\,f/(x-2)\,$ is computable by the Polynomial (long) Division algorithm (or even by undetermined coefficients).
Remark $\$ This is a very special case of general relations between the factorization of polynomials and the factorizations of their values. For example, one can derive relations between primality and compositeness of polynomials based on the same properties of their values. For example, since $\ 9^4\!+8\$ is prime so too is $\, x^4+8\,$ by Cohn's irreducibility test. See this answer and its links for some of these beautiful ideas of Bernoulli, Kronecker, and Schubert. | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9766692264378964,
"lm_q1q2_score": 0.8680233575747336,
"lm_q2_score": 0.8887587875995483,
"openwebmath_perplexity": 315.72851065386436,
"openwebmath_score": 0.733822226524353,
"tags": null,
"url": "https://math.stackexchange.com/questions/2118291/how-to-factorize-this-cubic-equation"
} |
• brilliant, liked every bit of it, Sadly I can not unmark other answer and select this one coz that too is elegant answer. – Govinda Sakhare Jan 29 '17 at 16:50
• @piechuckerr No problem (i don't care about acceptance, votes, etc, only about sharing beautiful mathematics). – Bill Dubuque Jan 29 '17 at 17:05
Note: I understand that there is already an accepted answer for this question, so this answer may be useless, but regardless, I'm still posting this to spread knowledge!
A simple way to factorize depressed cubic polynomials of the form$$x^3+Ax+B=0\tag1$$
Is to first move all the constants to the RHS, so $(1)$ becomes$$x^3+Ax=-B\tag2$$ Now, find two factors of $B$ such that one fact minus the square of the other factor is $A$. We'll call them $a,b$ so\begin{align*} & a-b^2=A\tag3\\ & ab=-B\tag4\end{align*} Multiply $(2)$ by $x$, add $b^2x^2$ to both sides and complete the square. Solving should give you a value of $x$ and allow you to factor $(1)$ by Synthetic Division.
Examples:
1. Solve $x^3-6x+4=0$ (your question)
Moving $4$ to the RHS and observing its factors, we have $-2,2$ as $a,b$ since$$-2-2^2=A\\-2\cdot2=-4$$Therefore, we have the following:$$x^4-6x^2=-2\cdot2x$$$$x^4-6x^2+4x^2=4x^2-4x$$$$x^4-2x^2=4x^2-4x$$$$x^4-2x^2+1=4x^2-4x+1\implies(x^2-1)^2=(2x-1)^2$$$$x^2=2x\implies x=2$$ Note that we do have to consider the negative case when square rooting, but they lead to the same pair of answers. So it's pointless.
1. Solving $x^3+16x=455$
A factor of $455$ works, namely when $a=65,b=7$.$$65-7^2=16$$$$65\cdot7=455$$ Therefore,$$x^4+16x^2=65\cdot7x$$$$x^4+65x^2=49x^2+455x$$$$\left(x^2+\dfrac {65}{2}\right)^2=\left(7x+\dfrac {65}{2}\right)^2$$$$x=7$$ | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9766692264378964,
"lm_q1q2_score": 0.8680233575747336,
"lm_q2_score": 0.8887587875995483,
"openwebmath_perplexity": 315.72851065386436,
"openwebmath_score": 0.733822226524353,
"tags": null,
"url": "https://math.stackexchange.com/questions/2118291/how-to-factorize-this-cubic-equation"
} |
The rational root theorem gives a list of all possible rational roots of a polynomial with integer coefficients that have a given leading coefficient and a given constant coefficient. In this case, the leading coefficient is $1$ and the constant coefficient is $4.$ The theorem tells us that all rational roots are in the set $\left\{ \pm\dfrac 1 1, \pm\dfrac 2 1, \pm \dfrac 4 1 \right\},$ the numerator being in this the only divisor of the leading coefficient $1$ and the denominators being the divisors of the constant coefficient $4$. That doesn't mean there are rational roots; it only means there are not any that don't belong to this set. There are only six members of this set, so it's easy to plug in all of them and see if you get $0$. When you plug in $2$, you get $0$, so there's your factorization.
• OP does not know RRT - see the comments. – Bill Dubuque Jan 28 '17 at 19:59
• @BillDubuque : Fortunately I linked to the Wikipedia article about it. – Michael Hardy Jan 28 '17 at 19:59
• @BillDubuque : That he doesn't recognize that name of the theorem doesn't mean he doesn't know the theorem. He could know it by a different name. – Michael Hardy Jan 28 '17 at 20:01
• I thought the comment(s) might nudge someone to give an exposition on this simpler integer case. But no one did, so I added an answer doing so. – Bill Dubuque Jan 28 '17 at 20:40
If $P$ is a polynomial with real coefficients and if $a\in\mathbb{R}$ is a root, which means that $P(a)=0$, then there exists a real polynomial $Q$ such that $\forall x\in\mathbb{R},\quad P(x)=(x-a)\,Q(x)$.
On this case, you can see by inspection, that $P(2)=0$.
It remains to find real constants $A,B,C$ such that :
$$\forall x\in\mathbb{R},\quad x^3-6x+4=(x-2)(Ax^2+Bx+C)$$
Identification of coefficients leads to $A=1$, $-2C=4$ and, for example, $A-2B=0$ (equating the coeffts of $x^2$ in both sides). | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9766692264378964,
"lm_q1q2_score": 0.8680233575747336,
"lm_q2_score": 0.8887587875995483,
"openwebmath_perplexity": 315.72851065386436,
"openwebmath_score": 0.733822226524353,
"tags": null,
"url": "https://math.stackexchange.com/questions/2118291/how-to-factorize-this-cubic-equation"
} |
• Since the OP doesn't know RRT, the answer I posted earlier seems to me a (not so bad) - one ! It's clear that one can answer at a higher level, but it's seems to me important to answer at a level compatible the mathematical background of the OP. I have the feeling that, if he (or she) had known the RRT, he would certainly never have asked that question. – Adren Jan 28 '17 at 20:11
• Actually we don't need the full RRT here, only a simpler integer case, e.g. see my answer. – Bill Dubuque Jan 28 '17 at 20:56 | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9766692264378964,
"lm_q1q2_score": 0.8680233575747336,
"lm_q2_score": 0.8887587875995483,
"openwebmath_perplexity": 315.72851065386436,
"openwebmath_score": 0.733822226524353,
"tags": null,
"url": "https://math.stackexchange.com/questions/2118291/how-to-factorize-this-cubic-equation"
} |
# How do you tackle this integral
1. Sep 6, 2013
### Gauss M.D.
1. The problem statement, all variables and given/known data
Find F(x)
f(x) = 1/(1+x2)2)
2. Relevant equations
3. The attempt at a solution
It's actually a subproblem of another huge annoying surface integral. I tried u-sub but that landed me nowhere and partial integration led me nowhere aswell... Any pointers?
2. Sep 6, 2013
### Zondrina
Perfect candidate for a trig sub. Use $x = tan(θ)$ so that $dx = sec^2(θ)dθ$.
3. Sep 6, 2013
### ZeroPivot
well, 1/1+X^2 is the derivative of arctan i believe. i think there has to be a relation. u use integration by parts left u nowhere?
4. Sep 6, 2013
### Gauss M.D.
Zondrina: Aha, thanks. Obviously it just so happens that in the problem, x had an upper bound of 1. Would we have been out of luck if that hadn't been the case?
Last edited: Sep 6, 2013
5. Sep 6, 2013
### ZeroPivot
its a nasty integral u sure you are doing everything correctly? so the integral is 1/1+x^2 only?
6. Sep 6, 2013
### Gauss M.D.
No, I was referring to Zondrinas trig sub suggestion!
7. Sep 6, 2013
### Zondrina
I don't see any discontinuity in the integrand at all, so I don't think it would matter.
8. Sep 6, 2013
### Gauss M.D.
Right right, we're using tan and not some other trig function. My bad again. Thanks a ton :)
9. Sep 7, 2013
### verty
That is a very good question, I don't know the answer to it. I'm going to investigate this.
10. Sep 7, 2013
### verty
Sorry, the original question has no trouble because the range of tan is just R. Here is a more applicable problem:
$y = \int {dx \over (1 - x^2)^2}$
$x =? \; sin\theta$
$dx = cos\theta \; d\theta$
$y = \int sec^3\theta \; d\theta$
$= {1 \over 2} [sec\theta \; tan\theta + \int sec\theta \; d\theta] + C$
$= {1 \over 2} [sec\theta \; tan\theta + ln| sec\theta + tan\theta | ] + C$
$= {1\over 2}{x \over 1 - x^2} + {1\over 4} ln | {1+x\over 1-x}| + C$
On the other hand, one can make a translation: | {
"domain": "physicsforums.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9854964173268185,
"lm_q1q2_score": 0.8680223770738138,
"lm_q2_score": 0.8807970904940926,
"openwebmath_perplexity": 2173.3676869155997,
"openwebmath_score": 0.8946686387062073,
"tags": null,
"url": "https://www.physicsforums.com/threads/how-do-you-tackle-this-integral.708999/"
} |
On the other hand, one can make a translation:
$x = u-1$
$dx = du$
$y = \int {dx \over (1 - x^2)^2} = \int{ dx \over (1+x)^2 (1-x)^2} = \int {du \over u^2(2-u)^2}$
After some partial fraction magic:
$y = \int {1 \over 4(2-u)^2} + {1 \over 4u^2} + {1 \over 4u} + {1 \over 4(2-u)} du$
$= {1 \over 4} [ {1 \over 2-u} - {1\over u} + ln|u| - ln|2-u| ] + C$
$= {1 \over 4} [ {2(u-1) \over u(2-u)} + ln| {u \over 2-u} | ] + C$
$= {1 \over 2} {x \over 1 - x^2} + {1 \over 4} ln| {1+x \over 1-x} | + C$
I can't explain it but it's the same answer. Probably it has to do with the behaviour of sin(z) and cos(z) for complex z. | {
"domain": "physicsforums.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9854964173268185,
"lm_q1q2_score": 0.8680223770738138,
"lm_q2_score": 0.8807970904940926,
"openwebmath_perplexity": 2173.3676869155997,
"openwebmath_score": 0.8946686387062073,
"tags": null,
"url": "https://www.physicsforums.com/threads/how-do-you-tackle-this-integral.708999/"
} |
# Counting distinguishable ways of painting a cube with 4 different colors (each used at least once)
You have many identical cube-shaped wooden blocks. You have four colors of paint to use, and you paint each face of each block a solid color so that each block has at least one face painted with each of the four colors. Find the number of distinguishable ways you could paint the blocks. (Two blocks are distinguishable if you cannot rotate one block so that it looks identical to the other block.)
Having trouble solving this problem with the added constraint of "at least one face painted with each of four colors" - Thanks in advance
Call the four colors $a$, $b$, $c$, $d$.
There are two partitions of $6$ into four parts, namely (1): $(3,1,1,1)$, and (2): $(2,2,1,1)$.
In case (1) we can choose the color appearing three times in $4$ ways. This color can either (1.1) appear on three faces sharing a vertex of the cube, or (1.2) on three faces forming a $\sqcup$-shape. In case (1.1) we can place the three other colors in $2$ ways ("clockwise" or "counterclockwise"); in case (1.2) we can choose which of the three other colors is opposite the floor of the $\sqcup$. This amounts to $4\cdot(2+3)=20$ different colorings.
In case (2) the two colors appearing only once can be chosen in ${4\choose2}=6$ ways. Assume that colors $a$ and $b$ are chosen. The $a$-face $F_a$ and the $b$-face $F_b$ can be either (2.1) opposite or (2.2) adjacent to each other. In case (2.1) we can chose the two $c$-faces either adjacent or opposite to each other. In case (2.2) the two $c$-faces can be (2.2.1) opposite to each other, (2.2.2) opposite to $F_a$ and to $F_b$, or (2.2.3) opposite to one of $F_a$ or $F_b$ and on one of the faces adjacent to both $F_a$ and $F_b$. In all this amounts to $6\cdot(2+1+1+2\cdot2_*)=48$ different colorings. (The factor $2_*$ distinguishes mirror-equivalent colorings.)
Altogether we have found $68$ different admissible colorings of the cube. | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9854964177527897,
"lm_q1q2_score": 0.868022374365338,
"lm_q2_score": 0.8807970873650401,
"openwebmath_perplexity": 171.4205429709181,
"openwebmath_score": 0.6901645660400391,
"tags": null,
"url": "https://math.stackexchange.com/questions/2240525/counting-distinguishable-ways-of-painting-a-cube-with-4-different-colors-each-u"
} |
Altogether we have found $68$ different admissible colorings of the cube.
• great solution ! - I still need to work out the second scenario in detail but appears to be a valid solution. Thanks – randomwalker Apr 18 '17 at 21:15
There is an algorithmic approach to this which I include for future reference and which consists in using Burnside and Stirling numbers of the second kind. For Burnside we need the cycle index of the face permutation group of the cube. We enumerate the constituent permutations in turn. First there is the identity for a contribution of $$a_1^6.$$
Rotating about one of the four diagonals by $120$ degrees and $240$ degrees we get
$$4\times 2a_3^2.$$
Rotating about an axis passing through opposite faces by $90$ degrees and by $270$ degrees we get
$$3\times 2 a_1^2 a_4$$
and by $180$ degrees
$$3\times a_1^2 a_2^2.$$
Finally rotating about an exis passing through opposite edges yields
$$6\times a_2^3.$$
We thus get the cycle index
$$Z(G) = \frac{1}{24} (a_1^6 + 8 a_3^2 + 6 a_1^2 a_4 + 3 a_1^2 a_2^2 + 6 a_2^3).$$
As a sanity check we use this to compute the number of colorings with at most $N$ colors and obtain
$$\frac{1}{24}(N^6 + 8 N^2 + 12 N^3 + 3 N^4).$$
This gives the sequence
$$1, 10, 57, 240, 800, 2226, 5390, 11712, 23355, 43450, \ldots$$
which is OEIS A047780 which looks to be correct. Now if we are coloring with $M$ colors where all $M$ colors have to be present we must partition the cycles of the entries of the cycle index into a set partition of $M$ non-empty sets. We thus obtain
$$\frac{M!}{24} \left({6\brace M} + 8 {2\brace M} + 12 {3\brace M} + 3{4\brace M}\right).$$
This yields the finite sequence (finite because the cube can be painted with at most six different colors):
$$1, 8, 30, 68, 75, 30, 0, \ldots$$
In particular the value for four colors is $68.$ We also get $6!/24 = 30$ for six colors because all orbits have the same size. | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9854964177527897,
"lm_q1q2_score": 0.868022374365338,
"lm_q2_score": 0.8807970873650401,
"openwebmath_perplexity": 171.4205429709181,
"openwebmath_score": 0.6901645660400391,
"tags": null,
"url": "https://math.stackexchange.com/questions/2240525/counting-distinguishable-ways-of-painting-a-cube-with-4-different-colors-each-u"
} |
Here's my crack at it: Starting with a stationary cube, there are $\frac{4 \cdot 3 \cdot 6!}{2 \cdot 2}$ ways of painting the cube where there are 2 colors with 2 faces, and $\frac{4 \cdot 6!}{3}$ ways of painting the cube when there is 1 color with 3 faces which gives a total of 3120 ways of painting the cube, but this over counts all the orientations of a cube, so the final answer is $\frac{3120}{4 \cdot 6} = 130$
• awright96 - Thank you for taking the time to answer the question. I understand your approach which is a good, clean approach. However the correct answer is 68. This problem appeared on a middle-school purple comet test in 2015 ( unfortunately only answers are published, no solutions) – randomwalker Apr 18 '17 at 19:31 | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9854964177527897,
"lm_q1q2_score": 0.868022374365338,
"lm_q2_score": 0.8807970873650401,
"openwebmath_perplexity": 171.4205429709181,
"openwebmath_score": 0.6901645660400391,
"tags": null,
"url": "https://math.stackexchange.com/questions/2240525/counting-distinguishable-ways-of-painting-a-cube-with-4-different-colors-each-u"
} |
Prove that every set and subset with the cofinite topology is compact
Prove that every set with the cofinite topology is compact as well as every subset
Solution. Let $$X$$ be a nonempty set with the cofinite topology and let $$\mathscr{U}$$ be an open cover of $$X$$. Let $$U \in \mathscr{U}$$. Then $$X\setminus U$$ is finite. For every $$a \in X\setminus U$$ let $$U_a$$ be an element of $$\mathscr{U}$$ that contains $$a$$. Then $$\{U\}\cup\{U_a : a ∈ X\setminus U\}$$ is a finite subcover of $$\mathscr{U}$$.
Now I missing the part for the subsets $$E\subseteq X$$. I don't think this refers to the relative topology, but just to any subset of $$X$$ How do I go about it?
• It of course refers to the rel topology and the proof is the same. – JCAA Jul 7 '20 at 22:10
• I thought the statement meant that any subset of X was compact with the original topology, not with the relative one – J.C.VegaO Jul 7 '20 at 22:13
• Well what does it mean to be compact with the original topology? – Severin Schraven Jul 7 '20 at 22:21
• @Severin Schraven That you can extract a finite subcover from a open cover made of open sets of the original topology, ( not made of the intersection of them with the set, like in the relative topology.) The reason I make a difference is because set that is not open in the original topology may be open in the relative. like for example in [-1,1] with the usual topology $\tau$ as a subset of $\mathbb{R}$ . $E=[-1,1 ]$ is not open in $(\mathbb{R},\tau)$ but it is in $(\mathbb{R},\tau_E)$ – J.C.VegaO Jul 7 '20 at 22:27
In the case of compactness it makes no difference whether you use the topology of $$X$$ or the relative topology on the subset.
Proposition. Let $$\langle X,\tau\rangle$$ be any space, let $$K\subseteq X$$, and let $$\tau_K$$ be the relative topology on $$K$$; then $$K$$ is compact with respect to $$\tau$$ iff it is compact with respect to $$\tau_K$$. | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9669140244715406,
"lm_q1q2_score": 0.8679941616861733,
"lm_q2_score": 0.8976952859490985,
"openwebmath_perplexity": 66.34106814868436,
"openwebmath_score": 0.9389252662658691,
"tags": null,
"url": "https://math.stackexchange.com/questions/3749178/prove-that-every-set-and-subset-with-the-cofinite-topology-is-compact"
} |
Proof. Suppose first that $$K$$ is compact with respect to $$\tau$$, and let $$\mathscr{U}\subseteq\tau'$$ be a $$\tau'$$-open cover of $$K$$. For each $$U\in\mathscr{U}$$ there is a $$V_U\in\tau$$ such that $$U=K\cap V_U$$. Let $$\mathscr{V}=\{V_U:U\in\mathscr{U}\}$$; clearly $$\mathscr{V}$$ is a $$\tau$$-open cover of $$K$$, so it has a finite subcover $$\{V_{U_1},\ldots,V_{U_n}\}$$. Let $$\mathscr{F}=\{U_1,\ldots,U_n\}$$; $$\mathscr{F}$$ is a finite subset of $$\mathscr{U}$$, and
$$\bigcup\mathscr{F}=\bigcup_{k=1}^nU_k=\bigcup_{k=1}^n(K\cap V_{U_k})=K\cap\bigcup_{k=1}^nU_k=K\;,$$
so $$\mathscr{F}$$ covers $$K$$. Thus, $$K$$ is compact with respect to $$\tau'$$.
Now suppose that $$K$$ is compact with respect to $$\tau'$$, and let $$\mathscr{U}\subseteq\tau$$ be a $$\tau$$-open cover of $$K$$. For each $$U\in\mathscr{U}$$ let $$V_U=K\cap U$$, and let $$\mathscr{V}=\{V_U:U\in\mathscr{U}\}$$. $$\mathscr{V}$$ is a $$\tau'$$-open cover of $$K$$, so it has a finite subcover $$\{V_{U_1},\ldots,V_{U_n}\}$$. Let $$\mathscr{F}=\{U_1,\ldots,U_n\}$$; $$\mathscr{F}$$ is a finite subset of $$\mathscr{U}$$, and
$$\bigcup\mathscr{F}=\bigcup_{k=1}^nU_k\supseteq\bigcup_{k=1}^n(K\cap U_k)=\bigcup_{k=1}^nV_{U_k}=K\;,$$
so $$\mathscr{F}$$ covers $$K$$. Thus, $$K$$ is compact with respect to $$\tau$$. $$\dashv$$
• Initially I thought that they were saying that any subset of $X$ was compact, like for example if $X=\mathbb{R}$ with the cofinite topology, then any subset like $\{1\}$ $[1,2] ,(1,2),(1,2], (1,+\infty)$ should be compact, that is not true, is it? – J.C.VegaO Jul 7 '20 at 23:43
• @J.C.VegaO: It is true. You essentially proved it in your question. – Brian M. Scott Jul 7 '20 at 23:46 | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9669140244715406,
"lm_q1q2_score": 0.8679941616861733,
"lm_q2_score": 0.8976952859490985,
"openwebmath_perplexity": 66.34106814868436,
"openwebmath_score": 0.9389252662658691,
"tags": null,
"url": "https://math.stackexchange.com/questions/3749178/prove-that-every-set-and-subset-with-the-cofinite-topology-is-compact"
} |
# SAT Maths Question About Fractions
Whilst revising, a problem caught my eye and I cannot seem to find an answer. I am usually bad at these types of questions.
On a certain Russian-American committee, $\frac23$ of members are men, and $\frac38$ of the men are Americans. If $\frac35$ of the committee members are Russians, what fraction of the members are American women?
A. $\frac{3}{20}$ B. $\frac{11}{60}$ C. $\frac{1}{4}$ D. $\frac{2}{5}$ E. $\frac{5}{12}$
Could you please explain how to approach and analyse the problem, maybe give some hints or the complete procedure of solving?
I get a bit confused with all those fractions. What I tried was to convert them to percentages but that seemed a bad idea.
Sorry if this question is annoying.
Thank you.
Update: I solved the problem both intuitively and mathematically. Thanks.
• You've got two categories, each with two options. You can find the probabilities of being in the intersection of each of these options (e.g. Russian Women) using the proportions and conditional proportions (like how its not that 3/8 are american, but 3/8 of men are american), and your answer will be there. – Bob Krueger May 24 '15 at 13:38
Here's a more algebraic approach. We know that $\frac{2}{5}$ of the committee is American (the other $\frac{3}{5}$ is Russian), and that $\frac{2}{3}\cdot\frac{3}{8} = \frac{1}{4}$ of the committee is American men. Thus, if the proportion of American women is $x$, then, $$\frac{1}{4} + x = \frac{2}{5}$$ that is, if you add up the proportion of American men and the proportion of American women (assuming men and women are the only two categories), then you get the proportion of Americans. From here, we can solve for $x$ to get $$x = \frac{2}{5} - \frac{1}{4} = \frac{3}{20},$$ which is in agreement with abel's answer. | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9891815497525024,
"lm_q1q2_score": 0.8679838596061126,
"lm_q2_score": 0.8774767986961403,
"openwebmath_perplexity": 459.02175419851187,
"openwebmath_score": 0.5978457927703857,
"tags": null,
"url": "https://math.stackexchange.com/questions/1296651/sat-maths-question-about-fractions"
} |
Let me try. We will pick a nice number for the total number of members so that every category of members come out whole numbers. We can pick the least common multiple of all the denominators of the fractions. That gives us $120.$ Of course as long as we are only interested in the ratio, it don't matter what that number is. It makes computation easier to do.
Suppose there were $120$ members. There are $80$ men and $40$ women. Of the $80$ men $30$ are American and $50$ russian. There are $72$ Russians on the committee that leave $22$ Russian women and $18$ American women on the committee. The fraction of American women on the committee is $$\frac{18}{120} = \frac3{20}.$$
Hopefully I did not make any silly arithmetic errors.
• I'd only suggest you edit to make clear why you chose 120. It may not be obvious to OP. – JoeTaxpayer May 24 '15 at 14:36
I can't improve on @abel 's excellent answer but do want to point out that it's an example of an important strategy. When you're "confused with all those fractions" and converting to percentages doesn't help (because they are just fractions) try natural frequencies - pick a number (in this case 120) that lets you count the cases.
See
http://opinionator.blogs.nytimes.com/2010/04/25/chances-are/
http://www.medicine.ox.ac.uk/bandolier/booth/glossary/freq.html
An alternative approach, very similar to @Strants's, with similar logic, but a slightly different way of looking at things:
We know that $\frac{2}{3}$ of the committee members are men and that $\frac{3}{8}$ of them are Americans.
This means that the proportion of all committee members who are American men is:
$\frac{2}{3} \times \frac{3}{8} = \frac{6}{24} = \frac{1}{4}$
We know also that $\frac{3}{5}$ of the members are Russian.
We know that there are only four types of people at the committee:
American men, Russian men, Russian women and American women. | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9891815497525024,
"lm_q1q2_score": 0.8679838596061126,
"lm_q2_score": 0.8774767986961403,
"openwebmath_perplexity": 459.02175419851187,
"openwebmath_score": 0.5978457927703857,
"tags": null,
"url": "https://math.stackexchange.com/questions/1296651/sat-maths-question-about-fractions"
} |
American men, Russian men, Russian women and American women.
We have found that $\frac{1}{4}$ of the members are American men and $\frac{3}{5}$ of them are Russian - i.e. Russian men and Russian women account for $\frac{3}{5}$ of the members.
Therefore, the proportion of members who are American men, Russian men, or Russian women is:
$\frac{3}{5} + \frac{1}{4} = \frac{12}{20} + \frac{5}{20} = \frac{17}{20}$
Therefore, the proportion of members who are American women is:
$1 - \frac{17}{20} = \frac{3}{20} = \text{A}$. | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9891815497525024,
"lm_q1q2_score": 0.8679838596061126,
"lm_q2_score": 0.8774767986961403,
"openwebmath_perplexity": 459.02175419851187,
"openwebmath_score": 0.5978457927703857,
"tags": null,
"url": "https://math.stackexchange.com/questions/1296651/sat-maths-question-about-fractions"
} |
# We roll a six-sided die ten times. What is the probability that the total of all ten rolls is divisible by 6?
So the question is really hard I think. I tried using a simple way by calculating the probability of each combination that makes a sum divisible by six, but it would take forever. Does anyone have any ideas?
Suppose that we roll a six-sided die ten times. What is the probability that the total of all ten rolls is divisible by six?
• Almost a duplicate of this question. Using the same logic, the answer is easily seen to be $1/6$. – TonyK Nov 11 '15 at 15:33
Hint.
Roll $9$ times and let $x$ be the total.
For exactly one number $n\in\{1,2,3,4,5,6\}$ we will have $6 \mid (x+n)$ (i.e. $x+n$ is divisible by $6$).
• I didn't get it, why would I roll 9 times instead of 10? and what is 6|x? – Xlyon Nov 11 '15 at 9:38
• @Xlyon When you've rolled nine times there's always exactly one outcome for the tenth that will make the sum divisible by $6$. – skyking Nov 11 '15 at 9:43
• Thanks! that is logical. Can you please help me complete it? – Xlyon Nov 11 '15 at 10:50
• Exactly one of the faces of the die thrown at the $10$th time will result in a total sum ($x+n$) that is divisible by $6$. The probability that this face shows up is $\frac16$ (if the die is fair, of course). – drhab Nov 11 '15 at 10:54
• The value of $x$ is indeed irrelevant. Whatever value $x$ takes, it's chance to change into a number divisible by $6$ (when the last result is added by $x$) is in all cases $\frac16$. So that's indeed the answer to this question. They could have asked: take some arbitrary number $y\in\mathbb Z$ and trhrow a fair die. If $D$ denotes the outcome then what is the probability that $y+D$ is divisible by $6$? Same answer: $\frac16$, – drhab Nov 11 '15 at 11:34 | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9891815523039174,
"lm_q1q2_score": 0.8679838570907867,
"lm_q2_score": 0.8774767938900121,
"openwebmath_perplexity": 383.01354319251885,
"openwebmath_score": 0.7875996828079224,
"tags": null,
"url": "https://math.stackexchange.com/questions/1523820/we-roll-a-six-sided-die-ten-times-what-is-the-probability-that-the-total-of-all"
} |
After rolling the die once, there is equal probability for each result modulo 6. Adding any unrelated integer to it will preserve the equidistribution. So you can even roll a 20-sided die afterwards and add its outcome: the total sum will still have a probability of 1/6 to be divisible by 6.
• @Kevin The d20 by itself does have that unequal distribution, but the sum d20+d6 does not. It literally does not matter what _**x**_ is in determining the distribution of (_**x**_ + d6) mod 6. In fact, d20 + d6 also has exactly a 1/20 chance of being divisible by 20 by the same logic – Monty Harder Nov 11 '15 at 19:28
If you want something a little more formal and solid than drhab's clever and brilliant answer:
Let $P(k,n)$ be the probability of rolling a total with remainder $k$ when divided by $6, (k = 0...5)$ with $n$ die.
$P(k, 1)$ = Probability of rolling a $k$ if $k \ne 0$ or a $6$ if $k = 6$; $P(k, 1) = \frac 1 6$.
For $n > 1$. $P(k,n) = \sum_{k= 0}^5 P(k, n-1)\cdot \text{Probability of Rolling(6-k)} = \sum_{k= 0}^5 P(k, n-1)\cdot\frac 1 6= \frac 1 6\sum_{k= 0}^5 P(k, n-1)= \frac 1 6 \cdot 1 = \frac 1 6$
This is drhab's answer but in formal terms without appeals to common sense
• That's a way to do it. What I actually had in mind was: $P\left(6\text{ divides }S_{10}\right)=\sum_{m\in\mathbb{N}}P\left(6\text{ divides }S_{10}\mid S_{9}=m\right)P\left(S_{9}=m\right)=\sum_{m\in\mathbb{N}}\frac{1}{6}P\left(S_{9}=m\right)=\frac{1}{6}$ – drhab Nov 12 '15 at 9:40
• Yes, that is more direct. – fleablood Nov 12 '15 at 16:45
In spite of all great answers, given here, I say, why not give another proof, from another point of view. The problem is we have 10 random variables $X_i$ for $i=1,\dots,10$, defined over $[6]=\{1,\dots,6\}$, and we are interested in distribution of $Z$ defined as $$Z=X_1\oplus X_2\oplus \dots \oplus X_{10}$$ where $\oplus$ is addition modulo $6$. We can go on by two different, yet similar proofs. | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9891815523039174,
"lm_q1q2_score": 0.8679838570907867,
"lm_q2_score": 0.8774767938900121,
"openwebmath_perplexity": 383.01354319251885,
"openwebmath_score": 0.7875996828079224,
"tags": null,
"url": "https://math.stackexchange.com/questions/1523820/we-roll-a-six-sided-die-ten-times-what-is-the-probability-that-the-total-of-all"
} |
First proof: If $X_1$ and $X_2$ are two random variables over $[6]$, and $X_1$ is uniformly distributed, sheer calculation can show that $X_1\oplus X_2$ is also uniformly distributed. Same logic yields that $Z$ is uniformly distributed over $[6]$.
Remark: This proves a more general problem. It says that even if only one of the dices is fair dice, i.e. each side appearing with probability $\frac 16$, the distribution of $Z$ will be uniform and hence $\mathbb P(Z=0)=\frac 16$.
Second proof: This proof draws on (simple) information theoretic tools and assumes its background. The random variable $Z$ is output of an additive noisy channel and it is known that the worst case is uniformly distributed noise. In other word if $X_i$ is uniform for only one $i$, $Z$ will be uniform. To see this, suppose that $X_1$ is uniformly distributed. Then consider the following mutual information $I(X_2,X_3,\dots,X_6;Z)$ which can be written as $H(Z)-H(Z|X_2,\dots,X_6)$. But we have: $$H(Z|X_2,\dots,X_6)=H(X_1|X_2,\dots,X_6)=H(X_1)$$
where the first equality is resulted from the fact that knowing $X_2,\dots,X_6$ the only uncertainty in $Z$ is due to $X_1$. The second equality is because $X_1$ is independent of others. Know see that:
• Mutual information is positive: $H(Z)\geq H(X_1)$
• Entropy of $Z$ is always less that or equal to the entropy of uniformly distributed random variable over $[6]$: $H(Z)\leq H(X_1)$
• From the last two $H(Z)=H(X_1)$ and $Z$ is uniformly distributed and the proof is complete.
Similarly here, only one fair dice is enough. Moreover the same proof can be used for an arbitrary set $[n]$. As long as one of the $X_i$'s is uniform, then their finite sum modulo $n$ will be uniformly distributed.
There are 3 variables in this case:
• the number of sides of the dice: s (e.g. 6)
• the number of throws: t (e.g. 10)
• the requesed multiple: x (e.g. 6)
In this case, the conditions are simple:
• s>=x
• x >0
• t > 0 | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9891815523039174,
"lm_q1q2_score": 0.8679838570907867,
"lm_q2_score": 0.8774767938900121,
"openwebmath_perplexity": 383.01354319251885,
"openwebmath_score": 0.7875996828079224,
"tags": null,
"url": "https://math.stackexchange.com/questions/1523820/we-roll-a-six-sided-die-ten-times-what-is-the-probability-that-the-total-of-all"
} |
In this case, the conditions are simple:
• s>=x
• x >0
• t > 0
And also the answer is simple: Throwing a sum that is a multiple of 6 has a 1/6 probability.
$P(s,t,x) = 1/x$
For situations where s<x this is not entirely correct. It approaches the same result though, at a high amount of throws. Example: If you throw a 6-sided dice 30 times the chance that the sum is a multiple of 20 will be about 5%. Proving this is a bit of a challenge.
$\lim \limits_{t \to \infty} P(s,t,x) = 1/x$,
Nevertheless, if programming is an acceptable proof:
public static void main(String[] args) {
int t_throws = 10;
int s_sides = 6;
int x_multiple = 6;
int[] diceCurrentValues = new int[t_throws];
for (int i = 0; i < diceCurrentValues.length; i++) diceCurrentValues[i] = 1;
int combinations = 0;
int matches = 0;
for (; ; ) {
// calculate the sum of the current combination
int sum = 0;
for (int diceValue : diceCurrentValues) sum += diceValue;
combinations++;
if (sum % x_multiple == 0) matches++;
System.out.println("status: " + matches + "/" + combinations + "=" + (matches * 100 / (double) combinations) + "%");
// create the next dice combination
int dicePointer = 0;
boolean incremented = false;
while (!incremented) {
if (dicePointer == diceCurrentValues.length) return;
if (diceCurrentValues[dicePointer] == s_sides) {
diceCurrentValues[dicePointer] = 1;
dicePointer++;
} else {
diceCurrentValues[dicePointer]++;
incremented = true;
}
}
}
}
# EDIT:
Here's another example. If you throw a 6-sided dice 10 times, there is 1/4 probability that the sum is a multiple of 4. The program above should run with the following parameters:
int t_throws = 10;
int s_sides = 6;
int x_multiple = 4;
The program will show the final output: status: 15116544/60466176=25.0% That means that there are 60466176 combinations (i.e. 6^10) and that there are 15116544 of them where the sum is a multiple of 4. So, that's 25% (=1/4). | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9891815523039174,
"lm_q1q2_score": 0.8679838570907867,
"lm_q2_score": 0.8774767938900121,
"openwebmath_perplexity": 383.01354319251885,
"openwebmath_score": 0.7875996828079224,
"tags": null,
"url": "https://math.stackexchange.com/questions/1523820/we-roll-a-six-sided-die-ten-times-what-is-the-probability-that-the-total-of-all"
} |
This just follows the formula as mentioned above (i.e. P(s,t,x) = 1/x). x is 4 in this case.
• "Assuming that t converges to infinity. This is also the case when s<x." This sounds nonsensical. – djechlin Nov 11 '15 at 17:43
• Excuse me for my poor English :) The thing is, if you apply this for values greater than the number of sides of your dice. (e.g. multiples of 10 with a 6 sided dice.) then P = 1/x is no longer correct. But it does converge 1/x ; meaning that if you would throw an infinit amount of times, the result would be 1/x again. – bvdb Nov 12 '15 at 0:10
• I made some slight adjustments. Let me know what you think. – bvdb Nov 12 '15 at 0:22
• It's not the case that the limiting factor is if s>=x. Consider the probability that 10 rolls of a six-sided dice divides 4. (Of course the limit still converges when the number of dices increases) – Taemyr Nov 12 '15 at 8:40
• @Taemyr for 10 roles with a 6-sided dice, there are 60466176 combinations, of which 15116544 have a sum which is a multiple of 4. That's exactly 25% which is exactly 1/4. So, it's correct, right ? – bvdb Nov 14 '15 at 15:51
Roll the die 9 times and add up the dots. The answer is x. Roll the die one more time. add the number thrown to x to get one and only one of the following answers; x+1, x+2, x+3, x+4, x+5 or x+6. since these answers are six sequential numbers one and only one of them will be divisible by six. Therefore the probability of the sum of ten rolls of a die being divisible by six is exactly 1/6.
Couldn't you also think of it as the maximum possible value you could get for rolling the die 10 times would be 60, how many numbers between 1 and 60 are divisible by 6? 10 numbers are divisible by 6(6*1, 2, 3, etc.) So, 10 out of 60 possible values gives... 1/6. I love math. | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9891815523039174,
"lm_q1q2_score": 0.8679838570907867,
"lm_q2_score": 0.8774767938900121,
"openwebmath_perplexity": 383.01354319251885,
"openwebmath_score": 0.7875996828079224,
"tags": null,
"url": "https://math.stackexchange.com/questions/1523820/we-roll-a-six-sided-die-ten-times-what-is-the-probability-that-the-total-of-all"
} |
• True, but some numbers appear multiple times. So, even though your answer is correct, your logic is flawed. – bvdb Nov 11 '15 at 11:58
• The minimum possible value is 10. So only 9 of 51 values are divisible by 6. But not all numbers are equally probable. – Cephalopod Nov 11 '15 at 11:58
• The numbers are not distributed evenly. – fleablood Nov 11 '15 at 20:31 | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9891815523039174,
"lm_q1q2_score": 0.8679838570907867,
"lm_q2_score": 0.8774767938900121,
"openwebmath_perplexity": 383.01354319251885,
"openwebmath_score": 0.7875996828079224,
"tags": null,
"url": "https://math.stackexchange.com/questions/1523820/we-roll-a-six-sided-die-ten-times-what-is-the-probability-that-the-total-of-all"
} |
# Yet Another Question On Using Basics Limit Arithmetics
Is this claim true?
Given $\lim \limits_{n\to \infty}\ a_n=\frac{1}{2}$ Then $\lim \limits_{n\to \infty}\ (a_n - [a_n])=\frac{1}{2}$
I think it's true, but probably I just didn't find the right example to disprove it.
Thanks a lot.
-
What do you mean by $[a_{n}]$? – Isaac Solomon Apr 1 '12 at 18:14
it's the round integer – Anonymous Apr 1 '12 at 18:17
Round up or down? – Isaac Solomon Apr 1 '12 at 18:17
If you mean nearest integer, then the claim is correct, so you will not find an example to disprove it. Are you looking for a formal argument? – André Nicolas Apr 1 '12 at 18:20
It's round donwn or truncate. And yes, @André Nicolas, I'm looking for a formal argument, thanks a lot. – Anonymous Apr 1 '12 at 18:21
Since
$$\lim_{n \to \infty} a_{n} = \frac{1}{2}$$
there exists $N$ such that for all $n \geq N$,
$$|a_{n} - \frac{1}{2}| < \frac{1}{4}$$
Then, for $n \geq N$, we have
$$0 \leq a_{n} \leq 1 \Longrightarrow [a_{n}] = 0$$
so that for $n \geq N$,
$$a_{n} - [a_{n}] = a_{n}$$
Now pick $\epsilon > 0$. Suppose that for all $n > M_{\epsilon}$
$$|a_{n} - \frac{1}{2}| < \epsilon$$
Replacing $M_{\epsilon}$ with $\mbox{max}(M_{\epsilon},N)$, we have
$$|(a_{n} - [a_{n}]) - \frac{1}{2} | = |a_{n} - \frac{1}{2}| < \epsilon$$
which proves that
$$\lim_{n \to \infty} (a_{n} - [a_{n}]) = \frac{1}{2}$$
-
I'm reading the proof and I'm at the line: "Now pick $\epsilon > 0$. Suppose that for all $n > M_{\epsilon}$ - what is $M_{\epsilon}$? – Anonymous Apr 1 '12 at 18:43
$M_{\epsilon}$ is just some sufficiently large natural number. I write $\epsilon$ in the subscript to indicate that this $M$ is a function of $\epsilon$. – Isaac Solomon Apr 1 '12 at 19:29 | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9835969679646668,
"lm_q1q2_score": 0.8679533814952709,
"lm_q2_score": 0.8824278741843884,
"openwebmath_perplexity": 244.7056961229364,
"openwebmath_score": 0.9549311399459839,
"tags": null,
"url": "http://math.stackexchange.com/questions/126961/yet-another-question-on-using-basics-limit-arithmetics"
} |
It depends on what you mean by the symbol $[x]$. If $[x]$ is the floor of $x$ (i.e., the greatest integer less than or equal to $x$), then the limit will be $\frac{1}{2}$. This follows from $\lim \limits_{n\to \infty}\ a_n=\frac{1}{2}$: there exists an $N$ such that for every $n \geq N$, $|a_n - \frac{1}{2}| < \frac{1}{2}$. For these $a_n$, it follows that $[a_n] = 0$, and so $$\lim \limits_{n\to \infty}\ a_n - [a_n] =\frac{1}{2} - 0 = \frac{1}{2}$$
On the other hand, if $[x]$ is the nearest integer to $x$, then the limit does not exist: consider the sequence $a = (0.4,0.6,0.49,0.51,0.499,0.501,\ldots)$. Clearly $a_n \rightarrow \frac{1}{2}$, but $[a_n]$ alternates between $0$ and $1$.
-
Thanks, I'm talking about the first case where $[x]$ is the floor of $x$. Could you please explain why it follows that $[a_n] = 0$? – Anonymous Apr 1 '12 at 18:32
Essentially, the $a_n$ are getting closer and closer to $\frac{1}{2}$; after a while (for $n \geq N$), all the $a_n$ will be between $0$ and $1$. The floor of a number in this interval is $0$. – Théophile Apr 1 '12 at 18:39
@Théophile: Yes, I was careless in my comment, which has been deleted. I meant the distance to the nearest integer. – André Nicolas Apr 1 '12 at 18:56
We want to show that for any $\epsilon>0$, there is an $N$ such that if $n>N$, then $|(a_n-\lfloor a_n\rfloor)-\frac{1}{2}|<\epsilon$. Here by $\lfloor w\rfloor$ we mean the greatest integer which is $\le w$.
Let $\epsilon'=\min(\epsilon,1/4)$. By the fact that $\lim_{n\to\infty} a_n=\frac{1}{2}$, there is an $N$ such that if $n>N$ then $|a_n-\frac{1}{2}|<\epsilon'$. In particular, $|a_n-\frac{1}{2}|<\frac{1}{4}$, and therefore $\lfloor a_n\rfloor=0$. It follows that if $n>N$ then $$\left|(a_n-\lfloor a_n\rfloor)-\frac{1}{2}\right|=\left|a_n-\frac{1}{2}\right|<\epsilon.$$ | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9835969679646668,
"lm_q1q2_score": 0.8679533814952709,
"lm_q2_score": 0.8824278741843884,
"openwebmath_perplexity": 244.7056961229364,
"openwebmath_score": 0.9549311399459839,
"tags": null,
"url": "http://math.stackexchange.com/questions/126961/yet-another-question-on-using-basics-limit-arithmetics"
} |
-
you wrote: $\left|(x_n-\lfloor x_n\rfloor)-\frac{1}{2}\right|=\left|x_n-\frac{1}{2}\right|<\epsilon$. But actually I know that $\left|(x_n-\lfloor x_n\rfloor)-\frac{1}{2}\right|=\left|x_n-\frac{1}{2}\right|<\epsilon'$, no? why can I make the switch from $\epsilon'$ to $\epsilon$? at least not for that n, maybe we need to add $n_1$? – Anonymous Apr 1 '12 at 19:04
The number we are "challenged with" is $\epsilon$. If $\epsilon$ is ridiculous, like $5$, then we can't say that $\lfloor x_n\rfloor=0$. Specifying that $\epsilon'=\min(1/4,\epsilon)$ makes sure $\lfloor x_n\rfloor=0$. It also makes sure (since $\epsilon' \le \epsilon$) that from $|x_n-\frac{1}{2}|<\epsilon'$, we can conclude that $|x_n-\frac{1}{2}|<\epsilon$. More informally, we could forget about $\epsilon'$, and say that the argument will only work if $\epsilon$ is reasonably small, but that's good enough. – André Nicolas Apr 1 '12 at 19:16
Thanks, I used the max between the n you gave me and the $n_1$ I have from the definition of limit, therefore safe to any $\epsilon$. – Anonymous Apr 1 '12 at 19:23
@Anonymous: It is just a technical trick. It can be replaced by taking $N$ simultaneously large enough to make $|a_n-1/2|<1/4$ (anything under $1/2$ is OK) and large enough to make $|a_n-1/2|<\epsilon$. – André Nicolas Apr 1 '12 at 19:27 | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9835969679646668,
"lm_q1q2_score": 0.8679533814952709,
"lm_q2_score": 0.8824278741843884,
"openwebmath_perplexity": 244.7056961229364,
"openwebmath_score": 0.9549311399459839,
"tags": null,
"url": "http://math.stackexchange.com/questions/126961/yet-another-question-on-using-basics-limit-arithmetics"
} |
.
.
.
.
.
HealthyNumerics
HealthPoliticsEconomics | Quant Analytics | Numerics
Basic Stats 02: A mechanical approach to the Bayesian rule
Intro
The Bayesian rule
$$P(A \mid B) = \frac{P(B \mid A) \cdot P(A)}{P(B)}$$
seems to be a rather abstract formula. But this impression can be corrected easely when considering a simple practical application. We call this approach mechanical because for this type of application there is no philosphical dispute between frequentist's and bayesian's mind set. We will just use in a mechanical/algorithmical manner the cells of a matrix. In this section we
• formulate a prototype of a probability problem (with red and green balls that have letters A and B printed on)
• summarize the problem in a basically 2x2 matrix (called contingency table)
• use the frequencies first
• replace them by probalities afterwards and recognize what conditional probablities are
• recognize that applying the Bayesian formula is nothing else than walking from one side of the matrix to the other side
A prototype of a probability problem
Given:
• 19 balls
• 14 balls are red, 5 balls are green
• among the 14 red balls, 4 have a A printed on, 10 have a B printed on
• among the 5 green balls, 1 has a A printed on, 4 have a B printed on
Typical questions: - we take 1 ball. - What is the probabilitiy that it is green ? - What is the probabilitiy that it is B under the precondition it's green ?
We will use Pandas to represent the problem and the solutions
import matplotlib.pyplot as plt
from IPython.core.pylabtools import figsize
import numpy as np
import pandas as pd
pd.set_option('precision', 3)
Contingency table with the frequencies
The core of the representation is a 2x2 matrix that summarizes the situation of the balls with the colors and the letters on. This matrix is expanded with the margins that contain the sums. - sum L stands for the sum of the letters - sum C stands for the sum of the colors | {
"domain": "github.io",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9835969641180276,
"lm_q1q2_score": 0.8679533735390272,
"lm_q2_score": 0.8824278695464501,
"openwebmath_perplexity": 12570.374402367228,
"openwebmath_score": 0.7729313373565674,
"tags": null,
"url": "https://alpynepyano.github.io/healthyNumerics/posts/basic_stats_02_mechanical_approach_to_bayesian_rule.html"
} |
columns = np.array(['A', 'B'])
index = np.array(['red', 'green'])
data = np.array([[4,10],[1,4]])
df = pd.DataFrame(data=data, index=index, columns=columns)
df['sumC'] = df.sum(axis=1) # append the sums of the rows
df.loc['sumL']= df.sum() # append the sums of the columns
df
A B sumC
red 4 10 14
green 1 4 5
sumL 5 14 19
Append the relative contributions of B and of green
We expand the matrix by a further column and a further row and use them to compute relative frequencies (see below).
def highlight_cells(x):
df = x.copy()
df.loc[:,:] = ''
df.iloc[1,1] = 'background-color: #53ff1a'
df.iloc[1,3] = 'background-color: lightgreen'
df.iloc[3,1] = 'background-color: lightblue'
return df
df[r'B/sumC'] = df.values[:,1]/df.values[:,2]
df.loc[r'green/sumL'] = df.values[1,:]/df.values[2,:]
t = df.style.apply(highlight_cells, axis=None)
t
A B sumC B/sumC
red 4 10 14 0.714
green 1 4 5 0.8
sumL 5 14 19 0.737
green/sumL 0.2 0.286 0.263 1.09
Let's focus on the row with the green balls
From all green balls (= 5) is the portion of those with a letter B (=4) 0.8
$$\frac{green\: balls\: with \:B}{all\: green\: balls} = \frac{4}{5} = 0.8$$
Note that this value already corresponds to the conditional probality $$P(B \mid green)$$
Let's focus on the column with the balls with letter B
From all balls with letter B (= 14) is the portion of those that are green (=4) 0.286
$$\frac{green\; balls\; with\; B}{all\; balls\; with\; letter\; B} = \frac{4}{14} = 0.286$$
Note that also this value already corresponds to the conditional probality $$P(green \mid B)$$
Contingency table with the probabilities
We find the probabilities by dividing the frequencies by the sum of balls.
columns = np.array(['A', 'B'])
index = np.array(['red', 'green'])
data = np.array([[4,10],[1,4]])
data = data/np.sum(data) | {
"domain": "github.io",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9835969641180276,
"lm_q1q2_score": 0.8679533735390272,
"lm_q2_score": 0.8824278695464501,
"openwebmath_perplexity": 12570.374402367228,
"openwebmath_score": 0.7729313373565674,
"tags": null,
"url": "https://alpynepyano.github.io/healthyNumerics/posts/basic_stats_02_mechanical_approach_to_bayesian_rule.html"
} |
df = pd.DataFrame(data=data, index=index, columns=columns)
df['sumC'] = df.sum(axis=1) # append the sums of the rows
df.loc['sumL']= df.sum() # append the sums of the columns
df
A B sumC
red 0.211 0.526 0.737
green 0.053 0.211 0.263
sumL 0.263 0.737 1.000
Append the relative contributions of B and of green
df[r'B/sumC'] = df.values[:,1]/df.values[:,2]
df.loc[r'green/sumL'] = df.values[1,:]/df.values[2,:]
t = df.style.apply(highlight_cells, axis=None)
t
A B sumC B/sumC
red 0.211 0.526 0.737 0.714
green 0.0526 0.211 0.263 0.8
sumL 0.263 0.737 1 0.737
green/sumL 0.2 0.286 0.263 1.09
Note the formula in the cells
columns = np.array(['-----------A----------', '---------B----------', '----------sumC--------', '--------B/sumC--------'])
index = np.array(['red', 'green', 'sumL', 'green/sumL'])
data = np.array([['...','...','...','...'],
['...', '$P(B \cap green)$', '$P(green)$', '$P(B \mid green)$'],
['...','$P(B)$','...','...'],
['...','$P(green \mid B)$','...','...'] ])
df = pd.DataFrame(data=data, index=index, columns=columns)
t = df.style.apply(highlight_cells, axis=None)
t
-----------A---------- ---------B---------- ----------sumC-------- --------B/sumC--------
red ... ... ... ...
green ... $$P(B \cap green)$$ $$P(green)$$ $$P(B \mid green)$$
sumL ... $$P(B)$$ ... ...
green/sumL ... $$P(green \mid B)$$ ... ...
Conditional probability: Let's focus on the row with the green balls
The probability to get a ball with B out of all green balls is 0.8
$$P(B \mid green) = \frac{P(green\: balls\: with \:B)}{P(all\: green\: balls)} = \frac{P(green \cap B)}{P(green)} = \frac{0.211}{0.263} = 0.8$$
Conditional probability: Let's focus on the column with the balls with letter B
The probability to get a green ball out of all balls with a B is 0.286
$$P(green \mid B) = \frac{P(green\; balls\; with\; B)}{P(all\; balls\; with\; letter\; B)} = \frac{P(green \cap B)}{P(B)} = \frac{0.211}{0.737} = 0.286$$
Bayes rule | {
"domain": "github.io",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9835969641180276,
"lm_q1q2_score": 0.8679533735390272,
"lm_q2_score": 0.8824278695464501,
"openwebmath_perplexity": 12570.374402367228,
"openwebmath_score": 0.7729313373565674,
"tags": null,
"url": "https://alpynepyano.github.io/healthyNumerics/posts/basic_stats_02_mechanical_approach_to_bayesian_rule.html"
} |
Bayes rule
Given $$P(green \mid B$$) find $$P(B \mid green)$$ :
$$P(B \mid green) = \frac{P(green \mid B) \cdot P(B)}{P(green)} = \frac{0.286 \cdot 0.737}{0.263} = \frac{0.211}{0.263}= 0.8$$
and given $$P(B \mid green)$$ find $$P(green \mid B$$):
$$P(green \mid B) = \frac{P(B \mid green) \cdot P(green)}{P(B)} = \frac{0.8 \cdot 0.263}{0.737} = \frac{0.211}{0.737} = 0.286$$
Applying the Bayes rule means that we walk from the element most right in the matrix to the element at the bottom of the matrix and vice versa:
show_frequencies()
def show_frequencies():
px = 4; py = 4
figsize(10, 10)
fontSize1 = 15
fontSize2 = 12
fontSize3 = 20
A1 = 4; A2 = 10; A3 = A1+A2
B1 = 1; B2 = 4; B3 = B1+B2
C1 = A1+B1; C2 = A2+B2; C3 = A3+B3
data = np.array([[A1, A2, A3],
[B1, B2, B3],
[C1, C2, C3] ])
clr = np.array([ ['#ffc2b3', '#ff704d', '#ff0000'],
['#b3ff99', '#53ff1a', '#208000'],
['#00bfff', '#0000ff', '#bf00ff'] ])
title = np.array([['A and red', 'B and red', 'sum of reds',
'$P(B|red) = \\frac {P(A\\cap red)}{P(red)}$' ],
['A and green', 'B and green', 'sum greens', '% (B of greens)' ],
['sum of A', 'sum of B', 'sum of all balls',' ' ],
[' ', '% (greens of B)', '', ' ' ],
] )
xlabel = np.array([ ['A', 'B', 'A+B', 'B/(A+B)'],
['A', 'B', 'A+B', 'B/(A+B)'],
['A red + A green', 'B red + B green', 'A+B', 'B/(A+B)'],
['A', 'B green/(B red + B green)', 'A+B', 'B/(A+B)'] ] )
ylabel = np.array([ ['red', 'red', 'red', 'B of reds'],
['green', 'green', 'green','B of greens'],
['sum A', 'sum B', 'Total', '' ],
['green', 'greens of B', 'green', ' '], ])
f, ax = plt.subplots(px, py, sharex=True, sharey=True, edgecolor='none') #, facecolor='lightgrey'
for i in range(px-1):
for j in range(py-1): | {
"domain": "github.io",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9835969641180276,
"lm_q1q2_score": 0.8679533735390272,
"lm_q2_score": 0.8824278695464501,
"openwebmath_perplexity": 12570.374402367228,
"openwebmath_score": 0.7729313373565674,
"tags": null,
"url": "https://alpynepyano.github.io/healthyNumerics/posts/basic_stats_02_mechanical_approach_to_bayesian_rule.html"
} |
for i in range(px-1):
for j in range(py-1):
patches, texts =ax[i,j].pie([data[i,j]], labels=[str(data[i,j])], #autopct='%1.1f%%',
colors = [clr[i,j]])
texts[0].set_fontsize(fontSize3)
ax[i,j].set_title(title[i,j], position=(0.5,1.2), bbox=dict(facecolor='#f2f2f2', edgecolor='none'), fontsize= fontSize1)
if i*j==1 :
ax[i,j].set_title(title[i,j], position=(0.5,1.2), bbox=dict(facecolor='#bfbfbf', edgecolor='none'), fontsize=fontSize1)
ax[i,j].set_xlabel(xlabel[i,j], fontsize=fontSize2, color='c')
ax[i,j].xaxis.set_label_position('top')
ax[i,j].set_ylabel(ylabel[i,j], fontsize=fontSize2, color='c')
ax[i,j].axis('equal')
j += 1
if (i == 1):
p = data[i,-2]/data[i,-1]; o = p/(1-p)
patches, texts =ax[i,j].pie([o,1], #autopct='%1.1f%%',
colors = [clr[i,1], clr[i,2] ] )
texts[0].set_fontsize(fontSize3)
ax[i,j].set_title(title[i,j], position=(0.5,1.2), bbox=dict(facecolor='#bfbfbf', edgecolor='none'), fontsize=fontSize1)
ax[i,j].set_xlabel(xlabel[i,j], color='c', fontsize=fontSize2)
ax[i,j].xaxis.set_label_position('top')
ax[i,j].set_ylabel(ylabel[i,j], fontsize=fontSize2, color='c')
ax[i,j].axis('equal')
else:
ax[i,j].plot(0,0)
ax[i,j].set_frame_on(False)
i = px-1;
for j in range(py):
if j==1:
p = data[1,1]/data[2,1]; o = p/(1-p)
patches, texts =ax[i,j].pie([o,1], #autopct='%1.1f%%',
colors = [clr[1,1], clr[2,1] ])
texts[0].set_fontsize(fontSize3)
ax[i,j].set_title(title[i,j], position=(0.5,1.2), bbox=dict(facecolor='#bfbfbf', edgecolor='none'), fontsize=fontSize1)
ax[i,j].set_xlabel(xlabel[i,j], color='c', fontsize=fontSize2)
ax[i,j].xaxis.set_label_position('top')
ax[i,j].set_ylabel(ylabel[i,j], fontsize=fontSize2, color='c')
ax[i,j].axis('equal')
ax[i,j].set_facecolor('y')
else:
ax[i,j].plot(0,0)
ax[i,j].set_frame_on(False)
plt.tight_layout()
plt.show()
from IPython.display import HTML | {
"domain": "github.io",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9835969641180276,
"lm_q1q2_score": 0.8679533735390272,
"lm_q2_score": 0.8824278695464501,
"openwebmath_perplexity": 12570.374402367228,
"openwebmath_score": 0.7729313373565674,
"tags": null,
"url": "https://alpynepyano.github.io/healthyNumerics/posts/basic_stats_02_mechanical_approach_to_bayesian_rule.html"
} |
plt.tight_layout()
plt.show()
from IPython.display import HTML
# HTML('''<script> $('div .input').hide()''') #lässt die input-zellen verschwinden HTML('''<script> code_show=true; function code_toggle() { if (code_show){$('div.input').hide();
} else {
$('div.input').show(); } code_show = !code_show }$( document ).ready(code_toggle);
</script> | {
"domain": "github.io",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9835969641180276,
"lm_q1q2_score": 0.8679533735390272,
"lm_q2_score": 0.8824278695464501,
"openwebmath_perplexity": 12570.374402367228,
"openwebmath_score": 0.7729313373565674,
"tags": null,
"url": "https://alpynepyano.github.io/healthyNumerics/posts/basic_stats_02_mechanical_approach_to_bayesian_rule.html"
} |
# Permutations : hard question !
1. Feb 6, 2013
### hms.tech
1. The problem statement, all variables and given/known data
In how many ways can the three letters from the word " GREEN " be arranged in a row if atleast one of the letters is "E"
2. Relevant equations
Permutations Formula
3. The attempt at a solution
The total arrangements without restriction: 5P3/2! = $\frac{5!}{2! * 2!}$
The number of arrangements in which there is no "E" = 3!
Ans : 5P3/2! - 3! = 24 (wrong)
Here is another approach :
The arrangements with just one "E" = $\frac{2!*4!}{2!}$
The arrangements with two "E" = $\frac{3*2}{1}$
I think I making a mistake due to the repetition of "E" ... Can any one of you tell me a better way which avoids the problem I am being having .
2. Feb 6, 2013
### HallsofIvy
If "at least one letter must be E", that means that the other two letters must be chosen from "GREN". That is, the first letter must be one of those 4 letters, the second one of the three remaining letters. How many is that?
But then we can put the "E" that we took out into any of three places: before the two, between them, or after the two letters so we need 3 times that previous number.
3. Feb 6, 2013
### hms.tech
4P2 = 4*3
According to your method the answer should be 12 * 3 = 36 (The correct answer in the solutions is "27")
Clearly your method (as did mine) repeats some of the permutations :
You didn't take onto account that the two "E" are not distinct. Thus in those permutations where we chose two "E" were repeated. see :
GEE , EEG, EGE
ENE, EEN, NEE
REE, ERE , EER
4. Feb 6, 2013
### CAF123
Alternatively, split the problem into two: Count those combinations with only 1 E and then count separately those with two E's.
For one E combination: (1C1)*(3C2)*3! = 18
For two E combination: (2C2)*(3C1)*(3!/2!) = 9. Then add. | {
"domain": "physicsforums.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9683812354689082,
"lm_q1q2_score": 0.8679130193855855,
"lm_q2_score": 0.8962513807543223,
"openwebmath_perplexity": 1166.250459490498,
"openwebmath_score": 0.8493869304656982,
"tags": null,
"url": "https://www.physicsforums.com/threads/permutations-hard-question.669846/"
} |
# Toronto Math Forum
## MAT334-2018F => MAT334--Lectures & Home Assignments => Topic started by: Ende Jin on September 08, 2018, 03:39:53 PM
Title: About the definition of Argument (in book)
Post by: Ende Jin on September 08, 2018, 03:39:53 PM
I found that the definition of "arg" and "Arg" in the book is different from that introduced in the lecture (exactly opposite) (on page 7).
I remember in the lecture, the "arg" is the one always lies in $(-\pi, \pi]$
Which one should I use?
Title: Re: About the definition of Argument (in book)
Post by: Victor Ivrii on September 08, 2018, 04:58:09 PM
Quote
Which one should I use?
This is a good and tricky question because the answer is nuanced:
Solving problems, use definition as in the Textbook, unless the problem under consideration requires modification: for example, if we are restricted to the right half-plane $\{z\colon \Re z >0\}$ then it is reasonable to consider $\arg z\in (-\pi/2,\pi/2)$, but if we are restricted to the upper half-plane $\{z\colon \Im z >0\}$ then it is reasonable to consider $\arg z\in (0,\pi)$ and so on.
Title: Re: About the definition of Argument (in book)
Post by: Ende Jin on September 09, 2018, 12:48:34 PM
I am still confused. Let me rephrase the question again.
In the textbook, the definition of "arg" and "Arg" are:
$arg(z) = \theta \Leftrightarrow \frac{z}{|z|} = cos\theta + isin\theta$
which means $arg(z) \in \mathbb{R}$
while
$Arg(z) = \theta \Leftrightarrow \frac{z}{|z|} = cos\theta + isin\theta \land \theta \in [-\pi, \pi)$
which means $Arg(z) \in [-\pi, \pi)$
While in the lecture, as you have introduced, it is the opposite and the range changes to $(-\pi, \pi]$ instead of $[-\pi, \pi)$ (unless I remember incorrectly):
Arg is defined to be
$Arg(z) = \theta \Leftrightarrow \frac{z}{|z|} = (cos\theta + isin\theta)$
which means $arg(z) \in \mathbb{R}$
while arg is
$arg(z) = \theta \Leftrightarrow \frac{z}{|z|} = cos\theta + isin\theta \land \theta \in (-\pi, \pi]$ | {
"domain": "toronto.edu",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9637799420543365,
"lm_q1q2_score": 0.8679125508718813,
"lm_q2_score": 0.9005297921244243,
"openwebmath_perplexity": 1196.0509642251907,
"openwebmath_score": 0.9586477875709534,
"tags": null,
"url": "https://forum.math.toronto.edu/index.php?PHPSESSID=kqv56eqotgiu56ejlj64jkai53&action=printpage;topic=1204.0"
} |
I am confused because if I am using the definition by the book,
when $z \in \{z : Re (z) > 0\}$
then $arg(z) \in (-\frac{\pi}{2} + 2\pi n,\frac{\pi}{2} + 2\pi n), n \in \mathbb{Z}$
Title: Re: About the definition of Argument (in book)
Post by: Victor Ivrii on September 09, 2018, 04:40:38 PM
BTW, you need to write \sin t and \cos t and so on to have them displayed properly (upright and with a space after): $\sin t$, $\cos t$ and so on
Title: Re: About the definition of Argument (in book)
Post by: Ende Jin on September 10, 2018, 10:03:33 AM
Thus in a test/quiz/exam, I should follow the convention of the textbook, right?
Title: Re: About the definition of Argument (in book)
Post by: Victor Ivrii on September 10, 2018, 01:34:22 PM
Thus in a test/quiz/exam, I should follow the convention of the textbook, right?
Indeed
Title: Re: About the definition of Argument (in book)
Post by: oighea on September 12, 2018, 04:24:46 PM
The $\arg$ of a complex number $z$ is an angle $\theta$. All angles $\theta$ have an infinite number of "equivalent" angles, namely $\theta =2k\pi$ for any integer $k$.
Equivalent angles can be characterized by that they exactly overlap when graphed on a graph paper, relative to the $0^\circ$ mark (usually the positive $x$-axis). Or more mathematically, they have the same sine and cosine. It also makes sine and cosine a non-reversible function, as given a sine or cosine, there are an infinite number of angles that satisfy this property.
$\Arg$, on the other hand, reduces the range of the possible angles such that it always lie between $0$ (inclusive) to $2\pi$ (exclusive). That is because one revolution is $2\pi$, or $360$ degrees. That is called the principal argument of a complex number.
We will later discover that complex logarithm also have a similar phenomenon.
Title: Re: About the definition of Argument (in book)
Post by: Victor Ivrii on September 12, 2018, 04:34:21 PM
oighea | {
"domain": "toronto.edu",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9637799420543365,
"lm_q1q2_score": 0.8679125508718813,
"lm_q2_score": 0.9005297921244243,
"openwebmath_perplexity": 1196.0509642251907,
"openwebmath_score": 0.9586477875709534,
"tags": null,
"url": "https://forum.math.toronto.edu/index.php?PHPSESSID=kqv56eqotgiu56ejlj64jkai53&action=printpage;topic=1204.0"
} |
Please fix your screen name and use LaTeX command (rendered by MathJax) to display math, not paltry html commands.
I fixed it in this post | {
"domain": "toronto.edu",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9637799420543365,
"lm_q1q2_score": 0.8679125508718813,
"lm_q2_score": 0.9005297921244243,
"openwebmath_perplexity": 1196.0509642251907,
"openwebmath_score": 0.9586477875709534,
"tags": null,
"url": "https://forum.math.toronto.edu/index.php?PHPSESSID=kqv56eqotgiu56ejlj64jkai53&action=printpage;topic=1204.0"
} |
# Math Help - Equation problem and others...
1. ## Equation problem and others...
Could any1 help me a bit with this equation ?
1) X1+X2+X3=11 , So how many are the solutions?
2) We 've got these letters -> A,B,C,D,E,F,G,H , how many permutations
of these letters can we make that include ABC ?
3) How many ways are possible in order 3 girls and 8 boys sit in a row so that Mary and John NOT to sit next to each other ?
4) I can understand at all what this question wants, but anyway ill ask here maybe you can understand ...
How many bytes exist with 1) Exactly 2 aces
2) Exactly 4 aces
3) Exactly 6 aces
4) At least 6 aces
i dont get it , a byte consists of 8 bits, whats that ace? any ideas?
Thanks in advance for your help =)
2. Hi primeimplicant,
where are you getting stuck with these?
For 1)
$X_1,\ X_2, X_3$ probably need to be positive integers >0.
Are any of the numbers allowed to be zero?
If they are allowed to be negative or non-integers, that leaves infinitely
many solutions.
-14+1+2, -15+1+3 etc
Hence, start with 1, add 2 and find out what $X_3$ is.
Then start again at 1, add 3 and find out what $X_3$ is.
When finished with 1, go on to 2 and make sure you leave out all numbers
less than 2.
Then go on to 3, leaving out all numbers less than 3.
Continue until done, there are only a few.
3. Originally Posted by primeimplicant
[snip]
4) I can understand at all what this question wants, but anyway ill ask here maybe you can understand ...
How many bytes exist with 1) Exactly 2 aces
2) Exactly 4 aces
3) Exactly 6 aces
4) At least 6 aces
i dont get it , a byte consists of 8 bits, whats that ace? any ideas?
Thanks in advance for your help =)
My guess is that an "ace" is a 1 bit, although this is unusual terminology I have not seen before. If my guess is correct then 1) is asking you how many 8-bit sequences there are which consist of two 1's and six 0's.
4. Hello, primeimplicant! | {
"domain": "mathhelpforum.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9715639636617015,
"lm_q1q2_score": 0.8679072190435781,
"lm_q2_score": 0.8933093975331751,
"openwebmath_perplexity": 1391.4725836872863,
"openwebmath_score": 0.7436730861663818,
"tags": null,
"url": "http://mathhelpforum.com/discrete-math/123546-equation-problem-others.html"
} |
4. Hello, primeimplicant!
$1)\;x_1+x_2+x_3\:=\:11$
So how many are the solutions?
The problem is NOT clearly stated.
I must assume that the $x$'s are positive integers.
Consider an 11-inch board marked in 1-inch intervals.
. . $\square\square\square\square\square\square
\square\square\square\square\square$
We will cut the board at two of the ten marks.
Then: . $\square\square\square\square\square |
\square\square | \square\square\square\square$
.represents: . $5+2+4$
And:- - $\square \square \square | \square \square \square \square \square \square \square | \square$ .represents: . $3 + 7 + 1$
Therefore, there are: . $_{10}C_2 \:=\:45$ solutions.
2) We 've got these letters: . $A,B,C,D,E,F,G,H$
How many permutations of these letters can we make that include $ABC$ ?
I assume you mean in that exact order: $ABC$
Duct-tape $ABC$ together.
Then we have 6 "letters" to arrange: . $\boxed{ABC}\;D\;E\;F\;G\;H$
There are: . $6! \,=\,720$ permutations.
3) How many ways are possible in order 3 girls and 8 boys sit in a row
so that Mary and John do NOT sit next to each other?
With no restrictions, the children can be seated in: $11!$ ways.
Suppose Mary and John DO sit together.
Duct-tape them together.
Then we have 10 "people" to arrange: . $\boxed{MJ}\;A\;B\;C\;D\;E\;F\;G\;H\;I$
. . They can be seated in: $10!$ ways.
But Mary and John could be taped like this: . $\boxed{JM}$
. . This makes for another $10!$ ways.
So there are: $2(10!)$ ways that Mary and John DO sit together.
Therefore, there are: . $11! - 2(10!) \:=\:39,916,800 - 2(3,628,800) \:=\:32,659,200$ ways
. . that Mary and John do NOT sit together.
5. Thanks a lot Soroban , awesome, i totally understood!!
6. Hi Primeimplicant,
For Q1...
that was fabulous work by Soroban!!
He's an artist at breaking long calculations into neat compact solutions.
Here's just a bit i wanted to add.
For your Q1, i interpreted it as....
how many different additions of 3 unequal positive non-zero integers sum to 11. | {
"domain": "mathhelpforum.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9715639636617015,
"lm_q1q2_score": 0.8679072190435781,
"lm_q2_score": 0.8933093975331751,
"openwebmath_perplexity": 1391.4725836872863,
"openwebmath_score": 0.7436730861663818,
"tags": null,
"url": "http://mathhelpforum.com/discrete-math/123546-equation-problem-others.html"
} |
how many different additions of 3 unequal positive non-zero integers sum to 11.
Hence, i recommended you try
1+2+(11-3)=11, which is 1+2+8=11
then 1+3+(11-4)=1+3+7,
1+4+6=11,
1+5+5...but this contains 2 fives.
Starting with 2,
2+3+6,
2+4+5,
2+5+4 is the same as 2+4+5 so move on to 3,
3+4+4 has two fours, so that's out.
3+5+3 out
3+6+2 is ok
3+7+1 counted
start with 4
4+5+2 has been found already as has 4+6+1
The list then is
1+2+8
1+3+7
1+4+6
2+3+6
2+4+5
3+6+2
If you meant that
$X_1,\ X_2, X_3$ could be variables that can have any value
from 1 to 9, since 1+1+9=11, so 9 is the largest positive integer useable,
then we have, starting with 1
1+1+9
1+2+8
1+3+7
1+4+6
1+5+5
Since any variable can be any of these values, these can be arranged in 3! ways, therefore there are 5(3!) = 30 combinations with the digit 1,
with 119 and 191 and 911 all double-counted, along with 155, 515, 551 double-counted, so we subtract 6.
30-6 =24.
starting with 2, not containing 1
2+2+7
2+3+6
2+4+5
these can also be arranged in (2)3!+3!/2! ways to give 12+3=15 additional combinations.
starting with 3, not containing 1 or 2
3+3+5
3+4+4
3+5+3 has been counted
3+6+2 has 2 in it
so there are 2 new ones which can be arranged in (2)3!/2! ways to account for
each of the 3 variables having those values.
this is another 3! combinations =6.
starting with 4, not containing 1, 2 or 3.
4+4+3 is out so we have found them all as there are no further combinations due to the fact that we will need smaller digits for the sum.
Hence the total is 24+15+6=45
This is the total for this interpretation of the question. | {
"domain": "mathhelpforum.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9715639636617015,
"lm_q1q2_score": 0.8679072190435781,
"lm_q2_score": 0.8933093975331751,
"openwebmath_perplexity": 1391.4725836872863,
"openwebmath_score": 0.7436730861663818,
"tags": null,
"url": "http://mathhelpforum.com/discrete-math/123546-equation-problem-others.html"
} |
Hence the total is 24+15+6=45
This is the total for this interpretation of the question.
If the variables must have different values, then we must subtract the three with the repeated digit 1, the three with the repeated digit 2, the three with the repeated digit 3, the three with the repeated digit 4, and the three with the repeated digit 5,
getting 45-15=30 with all 3 digits different,
in other words.... combinations of the digits, where the digits are selections of 3 from the 8 available in that case, in such a way that they sum to 11.
Looking at Soroban's analysis in another way
*****|*|*****
The red lines can move 4 places left and 4 places right, giving an additional 8 solutions to the 1 shown....8+1=9 solutions containing the digit 1.
****|**|*****
The red lines can move 3 places left and 4 places right,
giving 7+1=8 solutions containing the digit 2.
****|***|****
The red lines can move 3 places left and 3 places right giving 6+1=7 solutions with the digit 3.
Continuing that we get 9+8+7+6+5+4+3+2+1=45 solutions containing repeated digits. | {
"domain": "mathhelpforum.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9715639636617015,
"lm_q1q2_score": 0.8679072190435781,
"lm_q2_score": 0.8933093975331751,
"openwebmath_perplexity": 1391.4725836872863,
"openwebmath_score": 0.7436730861663818,
"tags": null,
"url": "http://mathhelpforum.com/discrete-math/123546-equation-problem-others.html"
} |
# RD Sharma Solutions Class 7 Data Handling Iv Probability Exercise 25.1
## RD Sharma Solutions Class 7 Chapter 25 Exercise 25.1
### RD Sharma Class 7 Solutions Chapter 25 Ex 25.1 PDF Free Download
#### Exercise 25.1
Q 1.A coin is tossed 1000 times with the following frequencies:
Head : 445, Tail : 555
When a coin is tossed at random, what is the probability of getting
(ii).a tail?
SOLUTION:
Total number of times a coin is tossed = 1000
Number of times a head comes up = 445
Number of times a tail comes up = 555
(i) Probability of getting a head = $\frac{No.\;of\;heads}{Total\;No.\;of\;trails}$ = $\frac{445}{1000}$=0.445
(ii) Probability of getting a tail = $\frac{No.\;of\;tails}{Total\;No.\;of\;trails}$ = $\frac{555}{1000}$ = 0.555
Q 2.A die is thrown 100 times and outcomes are noted as given below:
If a die is thrown at random, find the probability of getting a/an:
(i) 3 (ii) 5 (iii) 4 (iv) Even number (v) Odd number (vi) Number less than 3.
SOLUTION:
Total number of trials = 100
Number of times “1” comes up = 21
Number of times “2” comes up = 9
Number of times “3” comes up = 14
Number of times “4” comes up = 23
Number of times “5” comes up = 18
Number of times “6” comes up = 15
(i) Probability of getting 3 = $\frac{Frequency\;of\;3}{Total\;No.\;of\;trails}$ = $\frac{14}{100}$ = 0.14
(ii) Probability of getting 5 = $\frac{Frequency\;of\;5}{Total\;No.\;of\;trails}$ = $\frac{18}{100}$ = 0.18
(iii) Probability of getting 4 = $\frac{Frequency\;of\;4}{Total\;No.\;of\;trails}$ = $\frac{23}{100}$ = 0.23
(iv) Frequency of getting an even no. = Frequency of 2 + Frequency of 4 + Frequency of 6 = 9 + 23 + 15 = 47
Probability of getting an even no. = $\frac{Frequency\;of\;even\;number}{Total\;No.\;of\;trails}$ = $\frac{47}{100}$ = 0.47
(v) Frequency of getting an odd no. = Frequency of 1 + Frequency of 3 + Frequency of 5 = 21 + 14 + 18 = 53 | {
"domain": "byjus.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9799765575409524,
"lm_q1q2_score": 0.8678980918368229,
"lm_q2_score": 0.8856314828740729,
"openwebmath_perplexity": 600.7744176916254,
"openwebmath_score": 0.6479814648628235,
"tags": null,
"url": "https://byjus.com/rd-sharma-solutions/class-7-maths-chapter-25-data-handling-iv-probability-ex-25-1/"
} |
Probability of getting an odd no. = $\frac{Frequency\;of\;odd\;number}{Total\;No.\;of\;trails}$ = $\frac{53}{100}$ = 0.53
(vi) Frequency of getting a no. less than 3 = Frequency of 1 + Frequency of 2 = 21 + 9 = 30
Probability of getting a no. less than 3 = $\frac{Frequency\;of\;number\;less\;than\;3}{Total\;No.\;of\;trails}$ = $\frac{30}{100}$ = 0.30
Q 3.A box contains two pair of socks of two colours (black and white). I have picked out a white sock. I pick out one more with my eyes closed. What is the probability that I will make a pair?
SOLUTION:
No. of socks in the box = 4
Let B and W denote black and white socks respectively. Then we have:
S = {B,B,W,W}
If a white sock is picked out, then the total no. of socks left in the box = 3
No. of white socks left = 2 – 1 = 1
Probability of getting a white sock = $\frac{no.\;of\;white\;socks\;left\;in\;the\;box}{total\;no.\;of\;socks\;left\;in\;the\;box}$ = $\frac{1}{3}$
Q 4.Two coins are tossed simultaneously 500 times and the outcomes are noted as given below:
If same pair of coins is tossed at random, find the probability of getting:
SOLUTION:
Number of trials = 500
Number of outcomes of two heads (HH) = 105
Number of outcomes of one head (HT or TH) = 275
Number of outcomes of no head (TT) = 120
(i) Probability of getting two heads = $\frac{Frequency\;of\;getting\;2\;heads}{Total\;No.\;of\;trails}$ = $\frac{105}{500}$ = $\frac{21}{100}$
(ii) Probability of getting one head = $\frac{Frequency\;of\;getting\;1\;heads}{Total\;No.\;of\;trails}$ = $\frac{275}{500}$ = $\frac{11}{20}$
(iii) Probability of getting no head = $\frac{Frequency\;of\;getting\;no\;heads}{Total\;No.\;of\;trails}$ = $\frac{120}{500}$ = $\frac{6}{25}$
#### Practise This Question
The lines shown below never meet at any point. So, these lines are not parallel. Say true or false. | {
"domain": "byjus.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9799765575409524,
"lm_q1q2_score": 0.8678980918368229,
"lm_q2_score": 0.8856314828740729,
"openwebmath_perplexity": 600.7744176916254,
"openwebmath_score": 0.6479814648628235,
"tags": null,
"url": "https://byjus.com/rd-sharma-solutions/class-7-maths-chapter-25-data-handling-iv-probability-ex-25-1/"
} |
Sound Waves. The expression you have is an person-friendly remodel, so which you will detect the inverse in a table of Laplace transforms and their inverses. It exploits the special structure of DFT when the signal length is a power of 2, when this happens, the computation complexity is significantly reduced. This is a good point to illustrate a property of transform pairs. Let f ( x ) be a function defined and integrable on. Discrete Fourier transform (DFT) is the basis for many signal processing procedures. Fn = 1 shows the transform of damped exponent f(t) = e-at. Think about this intuitively. These advantages are particularly important in climate science. Recently, methods for solving this drawback by using a wavelet transform (WT) [25,26] have been reported. Likewise, the amplitude of sine waves of wavenumber in the superposition is the sine Fourier transform of the pulse shape, evaluated at wavenumber. Discrete Fourier Transform (DFT) The frequency content of a periodic discrete time signal with period N samples can be determined using the discrete Fourier transform (DFT). The DFT: An Owners' Manual for the Discrete Fourier Transform William L. This list is not a complete listing of Laplace transforms and only contains some of the more commonly used Laplace transforms and formulas. In practice, the procedure for computing STFTs is to divide a longer time signal into shorter segments of equal length and then compute the Fourier transform separately on each shorter segment. One side of this was discussed in the last chapter: time domain signals can be convolved by multiplying their frequency spectra. We shall show that this is the case. Learn more about fourier transform. • Fourier invents Fourier series in 1807 • People start computing Fourier series, and develop tricks Good comes up with an algorithm in 1958 • Cooley and Tukey (re)-discover the fast Fourier transform algorithm in 1965 for N a power of a prime • Winograd combined all methods to give the most | {
"domain": "agenzialenarduzzi.it",
"id": null,
"lm_label": "1. Yes\n2. Yes",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.981735721648143,
"lm_q1q2_score": 0.8678929482289481,
"lm_q2_score": 0.8840392878563336,
"openwebmath_perplexity": 1078.9064028815767,
"openwebmath_score": 0.8407778143882751,
"tags": null,
"url": "http://qjsk.agenzialenarduzzi.it/fourier-transform-of-cos-wt-in-matlab.html"
} |
algorithm in 1965 for N a power of a prime • Winograd combined all methods to give the most efficient FFTs. (14) and replacing X n by. yes my signal is load-time signal with T0=0. As described in details in Stewart et al. The Segment of Signal is Assumed Stationary A 3D transform ()(t f ) [x(t) (t t )]e j ftdt t ω ′ = •ω* −′•−2π STFTX , ω(t): the window function A function of time. It exploits the special structure of DFT when the signal length is a power of 2, when this happens, the computation complexity is significantly reduced. The amplitude, A, is the distance measured from the y-value of a horizontal line drawn through the middle of the graph (or the average value) to the y-value of the highest point of the sine curve, and B is the number of times the sine curve repeats itself within 2π, or 360 degrees. Fourier Transform and Inverse Fourier Transform of Lists I am trying to compute the Fourier transform of a list, say an array of the form {{t1, y[t1]},{tn, y[tn]}}; apply some filters in the spectral components, and then back transform in time domain. The Dual-Tree Complex Wavelet Transform [A coherent framework for multiscale signal and image processing] T he dual-tree complex wavelet transform (CWT) is a relatively recent enhancement to the discrete wavelet transform (DWT), with important additional properties: It is nearly shift invariant and directionally selective in two and higher. The following MATLAB. Digital signal processing (DSP) vs. Let Y(s)=L[y(t)](s). Joseph Fourier appears in the Microwaves101 Hall of Fame! Fourier transforms of regular waveforms can be found in textbooks. Cu (Lecture 7) ELE 301: Signals and Systems Fall 2011-12 22 / 22. The N-D transform is equivalent to computing the 1-D transform along each dimension of X. The DFT of the sequence x(n) is expressed as 2 1 ( ) ( ) 0 N jk i X k x n e N i − − Ω = ∑ = (1) where = 2Π/N and k is the frequency index. The term discrete-time refers to the fact that the transform operates on discrete | {
"domain": "agenzialenarduzzi.it",
"id": null,
"lm_label": "1. Yes\n2. Yes",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.981735721648143,
"lm_q1q2_score": 0.8678929482289481,
"lm_q2_score": 0.8840392878563336,
"openwebmath_perplexity": 1078.9064028815767,
"openwebmath_score": 0.8407778143882751,
"tags": null,
"url": "http://qjsk.agenzialenarduzzi.it/fourier-transform-of-cos-wt-in-matlab.html"
} |
frequency index. The term discrete-time refers to the fact that the transform operates on discrete data, often samples whose interval has units of time. Gómez Gil, INAOE 2017 22. 1) is called the inverse Fourier integral for f. The sine and cosine transforms are useful when the given function x(t) is known to be either even or odd. Most of the following equations should not be memorized by the reader; yet, the reader should be able to instantly derive them from an understanding of the function's characteristics. Inverted frequency spectrum, also called cepstrum, is the result of taking the inverse Fourier transform of the logarithm of a signal estimated spectrum. Stack Exchange network consists of 177 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers. Fourier Transform. Online Fast Fourier Transform Calculator. Cu (Lecture 7) ELE 301: Signals and Systems Fall 2011-12 22 / 22. To learn more, see our tips on writing great. 1 Properties of the Fourier transform Recall that. Si X es un array multidimensional, fft(X) trata los valores a lo largo de la primera dimensión del array cuyo tamaño no sea igual a 1 como vectores y devuelve la transformada de Fourier de cada vector. This list is not a complete listing of Laplace transforms and only contains some of the more commonly used Laplace transforms and formulas. Make it an integer number of cycles long (e. Fourier transform t=[1:4096]*10e-3/4096; % Time axis T=1024*10e-3/4096; % Period of a periodic function f0=1/T omega0=2*pi*f0; % Sampling Frequency dt=t(2)-t(1) fsample=1/dt f0 = 400 dt = 2. • cos(2 )πfcτ term is constant (τ is independent, the integral is over t). We denote Y(s) = L(y)(t) the Laplace transform Y(s) of y(t). MATLAB has a built-in sinc function. Has the form [ry,fy,ffilter,ffy] = FouFilter(y, samplingtime, centerfrequency, frequencywidth, shape, mode), where y is the time. To illustrate determining | {
"domain": "agenzialenarduzzi.it",
"id": null,
"lm_label": "1. Yes\n2. Yes",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.981735721648143,
"lm_q1q2_score": 0.8678929482289481,
"lm_q2_score": 0.8840392878563336,
"openwebmath_perplexity": 1078.9064028815767,
"openwebmath_score": 0.8407778143882751,
"tags": null,
"url": "http://qjsk.agenzialenarduzzi.it/fourier-transform-of-cos-wt-in-matlab.html"
} |
centerfrequency, frequencywidth, shape, mode), where y is the time. To illustrate determining the Fourier Coefficients, let's look at a simple example. Daileda Fourier transforms. The Fourier Transform is a method to single out smaller waves in a complex wave. A Phasor Diagram can be used to represent two or more stationary sinusoidal quantities at any instant in time. $\endgroup$ – Robert Israel Jan 19 '17 at 21:33. Basic theory and application of the FFT are introduced. 1 Frequency Analysis Remember that we saw before that when a sinusoid goes into a system, it comes out as a sinusoid of the same frequency,. The component of x ( t ) at frequency w , X ( w ) , can be considered a density: if the units of x ( t ) are volts, then the units of X ( w ) are volt-sec (or volt/Hz if we had been using Hz. The Fourier transform is sometimes denoted by the operator Fand its inverse by F1, so that: f^= F[f]; f= F1[f^] (2) It should be noted that the de. at the MATLAB command prompt. In practice, when doing spectral analysis, we cannot usually wait that long. The Fast Fourier Transform (FFT) is an efficient way to do the DFT, and there are many different algorithms to accomplish the FFT. The Discrete Fourier Transformation (DFT): Definition and numerical examples — A Matlab tutorial; The Fourier Transform Tutorial Site (thefouriertransform. The Laplace transform is used to quickly find solutions for differential equations and integrals. prior to entering the outer for loop. Always keep in mind that an FFT algorithm is not a different mathematical transform: it is simply an efficient means to compute the DFT. Amyloid Hydrogen Bonding Polymorphism Evaluated by (15)N{(17)O}REAPDOR Solid-State NMR and Ultra-High Resolution Fourier Transform Ion Cyclotron Resonance Mass Spectrometry. The coe cients in the Fourier series of the analogous functions decay as 1 n, n2, respectively, as jnj!1. So for the Fourier Series for an even function, the coefficient b n has zero value: b_n= 0 So | {
"domain": "agenzialenarduzzi.it",
"id": null,
"lm_label": "1. Yes\n2. Yes",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.981735721648143,
"lm_q1q2_score": 0.8678929482289481,
"lm_q2_score": 0.8840392878563336,
"openwebmath_perplexity": 1078.9064028815767,
"openwebmath_score": 0.8407778143882751,
"tags": null,
"url": "http://qjsk.agenzialenarduzzi.it/fourier-transform-of-cos-wt-in-matlab.html"
} |
jnj!1. So for the Fourier Series for an even function, the coefficient b n has zero value: b_n= 0 So we only need to calculate a 0 and a n when finding the Fourier Series expansion for an even function f(t): a_0=1/Lint_(-L)^Lf(t)dt a_n=1/Lint_(-L)^Lf(t)cos{:(n pi t)/L:}dt An even function has only cosine terms in its Fourier expansion:. If any argument is an array, then fourier acts element-wise on all elements of the array. First the frequency grid has to be fine enough so the peaks are all resolved. If we \squeeze" a function in t, its Fourier transform \stretches out" in !. The wavelet transform and other linear time-frequency analysis methods decompose these signals into their components by correlating the signal with a dictionary of time-frequency atoms. Fast Fourier Transform in MATLAB ®. Cal Poly Pomona ECE 307 Fourier Transform The Fourier transform (FT) is the extension of the Fourier series to nonperiodic signals. In modo analogo possiamo ricavare la DFT inversa come N −1 1 X 2π x[n] = X[k]ejkn N (58) N k=0. Skip to content. The input, x, is a real- or complex-valued vector, or a single-variable regularly sampled timetable, and must have at least four samples. txt) or read book online for free. These systems are based on neural networks [1] with wavelet transform based feature extraction. Note that in the summation over n = 0, 1, … N-1, the value of the basis function is computed ("sampled") at the same times 'n' as your recorded signal x[n] was sampled. I then wish to calculate the imaginary and real parts of the fourier transform. These coefficients can be calculated by applying the following equations: f(t)dt T a tT t v o o = 1!+ f(t)ktdt T a tT t n o o o =!+cos" 2 f(t)ktdt T b tT t n o o o =!+sin" 2 Answer Questions 1 – 2. The Trigonometric Fourier Series is an example of Generalized Fourier Series with sines and cosines substituted in as the orthogonal basis set. Posts about Fast Fourier Transform of 16-point sequence written by kishorechurchil. In | {
"domain": "agenzialenarduzzi.it",
"id": null,
"lm_label": "1. Yes\n2. Yes",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.981735721648143,
"lm_q1q2_score": 0.8678929482289481,
"lm_q2_score": 0.8840392878563336,
"openwebmath_perplexity": 1078.9064028815767,
"openwebmath_score": 0.8407778143882751,
"tags": null,
"url": "http://qjsk.agenzialenarduzzi.it/fourier-transform-of-cos-wt-in-matlab.html"
} |
basis set. Posts about Fast Fourier Transform of 16-point sequence written by kishorechurchil. In MATLAB: sinc(x)= sin(πx) πx Thus, in MATLAB we write the transform, X, using sinc(4f), since the π factor is built in to the function. Topics include: The Fourier transform as a tool for solving physical problems. How can we use Laplace transforms to solve ode? The procedure is best illustrated with an example. Since it is time shifted by 1 to the. 下载 数字信号处理科学家与工程师手册 (非常实用,含有大量C实用代码). FFT Software. 4Hz in the spectrum corresponding to. Moreover, as cosine and sine transform are real operations (while Fourier transform is complex), they can be more efficiently implemented and are widely used in various applications. Sine and cosine waves can make other functions! Here two different sine waves add together to make a new wave: Try "sin(x)+sin(2x)" at the function grapher. Orthogonal Properties of sinusoids and cosinusoids. Fourier Series is very useful for circuit analysis, electronics, signal processing etc. Let W f ( u , s ) denote the wavelet transform of a signal, f(t) , at translation u and scale s. MATLAB - using Signal Processing Toolbox features to analyze PicoScope data Introduction. What you have given isn't a Fourier remodel; it particularly is a Laplace remodel with jw=s. Thus, the DFT formula basically states that the k'th frequency component is the sum of the element-by-element products of 'x' and ' ', which is the so-called inner product of the two vectors and , i. To establish these results, let us begin to look at the details first of Fourier series, and then of Fourier transforms. Fourier transform infrared (FT-IR) spectroscopy, principal component analysis (PCA), two-dimensional correlation spectroscopy (2D-COS), and X-ray diffraction, while the sorption properties were evaluated by water vapor isotherms using the gravimetric method coupled with infrared spectroscopy. Before delving into the mechanics of the Fourier transform as implemented on a computer, | {
"domain": "agenzialenarduzzi.it",
"id": null,
"lm_label": "1. Yes\n2. Yes",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.981735721648143,
"lm_q1q2_score": 0.8678929482289481,
"lm_q2_score": 0.8840392878563336,
"openwebmath_perplexity": 1078.9064028815767,
"openwebmath_score": 0.8407778143882751,
"tags": null,
"url": "http://qjsk.agenzialenarduzzi.it/fourier-transform-of-cos-wt-in-matlab.html"
} |
Before delving into the mechanics of the Fourier transform as implemented on a computer, it is important to see the origin of the technique and how it is constructed. La transformada de Fourier es básicamente el espectro de frecuencias de una función. Taylor Series A Taylor Series is an expansion of some function into an infinite sum of terms , where each term has a larger exponent like x, x 2 , x 3 , etc. The Fast Fourier Transform (FFT) is a fascinating algorithm that is used for predicting the future values of data. (i) We must calculate the Fourier coefficients. The Fourier transform is a mathematical formula that relates a signal sampled in time or space to the same signal sampled in frequency. Monitoring Light Induced Structural Changes of Channelrhodopsin-2 by UV/Vis and Fourier Transform Infrared Spectroscopy* Eglof Ritter‡1, Katja Stehfest§1, Andre Berndt §, Peter Hegemann§¶, Franz J. Bartl‡¶ From the ‡Institut für medizinische Physik und Biophysik, Charité-Universitätsmedizin Berlin,. 2; % gravitational acceleraton (ft/s^2) beta = 180; % relative wave direction (deg) z = 0; % depth below the surface (ft) rho = 1. When we do this, we would end up with the Fourier transform of y(t). The finite, or discrete, Fourier transform of a complex vector y with n ele-ments y j+1;j = 0;:::n •1 is another complex. The Fourier transform is defined for a vector x with n uniformly sampled points by. The resulting transform pairs are shown below to a common horizontal scale: Cu (Lecture 7) ELE 301: Signals and Systems Fall 2011-12 8 / 37. Visit http://ilectureonline. 4 Ms Sampling Period. This process is equal to apply 1D WT on Radon slices (Chen, 2007). Electronics and Circuit Analysis Using MATLAB - John O. How to complete the fourier Analysis using Learn more about fourier, fft, fourier transform, plotting, digital signal processing, signal processing, transform MATLAB. Since real phase noise data cannot be collected across a continuous spectrum, a summation must be | {
"domain": "agenzialenarduzzi.it",
"id": null,
"lm_label": "1. Yes\n2. Yes",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.981735721648143,
"lm_q1q2_score": 0.8678929482289481,
"lm_q2_score": 0.8840392878563336,
"openwebmath_perplexity": 1078.9064028815767,
"openwebmath_score": 0.8407778143882751,
"tags": null,
"url": "http://qjsk.agenzialenarduzzi.it/fourier-transform-of-cos-wt-in-matlab.html"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.