Fastest way to calculate the following equations

  • Thread starter Thread starter Kyoma
  • Start date Start date
AI Thread Summary
The discussion focuses on solving a set of equations involving unknowns a, d, and n. Participants highlight the difficulty of manual calculations and suggest using computational tools like WolframAlpha for efficiency. A method is proposed to simplify the second equation by substituting values derived from the first equation, leading to a relationship between d and n. This approach reveals that n must be at least 145 for d to remain an integer, and further substitutions yield a simplified quadratic equation for n. Ultimately, the conversation emphasizes the importance of computational assistance and careful algebraic manipulation to find solutions.
Kyoma
Messages
95
Reaction score
0

Homework Statement



Find n.

5a + 10d = 26

5a + 5/2(n-1)d + 5/2(n-5)d = 726

n/2(2a + (n-1)d) = 10904

Note that a and d are unknowns as well.

2. The attempt at a solution

It is extremely tedious to calculate by hand. Furthermore, my calculator is only able to solve both linear equations and quadratic equations in the form of ax + b and ax^2 + bx + c respectively, where a, b and c are known constants. However, the above equations give me unknowns like nd, na, which I am unable to key it into the calculator. Hence, is there a better way to solve the above equations? Much help appreciated. Thanks!
 
Physics news on Phys.org
If you have access to a computer, use that. WolframAlpha can solve it directly with your equations.

Without a computer: I would simplify the second equation to
26-10d + 5d/2 (2n-6) = 726 (using the first equation to get rid of a) and then
-2d + d (n-3)=140
d(n-5)=140
Therefore, d=140/(n-5)

Using this in the last equation gives a cubic equation -> bad. If d is an integer, n has to be at least 145. As 145/2*145 is of the order of 10904, I would try this first. n=145, d=1, a=16/5 leads to a solution, and I think the derivative of the last equation with respect to n will show that this is the only solution.
 
mfb said:
If you have access to a computer, use that. WolframAlpha can solve it directly with your equations.

Without a computer: I would simplify the second equation to
26-10d + 5d/2 (2n-6) = 726 (using the first equation to get rid of a) and then
-2d + d (n-3)=140
d(n-5)=140
Therefore, d=140/(n-5)

Using this in the last equation gives a cubic equation -> bad. If d is an integer, n has to be at least 145. As 145/2*145 is of the order of 10904, I would try this first. n=145, d=1, a=16/5 leads to a solution, and I think the derivative of the last equation with respect to n will show that this is the only solution.

You can get a quadratic equation in n, by solving the first eqn for a in terms of d, substituting that into the second equation to get a simple linear equation for d in in terms of n. Then, substituting both into the third equation gives a quadratic in n.
 
Oh right, it is just a quadratic equation.
An ugly one, however.
 
mfb said:
Oh right, it is just a quadratic equation.
An ugly one, however.

I think I must have made a typo when entering the equations before; when I (or Maple) do it again I obtain a very simple linear equation for n (not a quadratic). Solving the first two equations for 'a' and 'd' in terms of n, we have
d = 140/(n-5), a = 2/5*(13*n-765)/(n-5). Putting these into the third equation gives something surprisingly simple.
 
I picked up this problem from the Schaum's series book titled "College Mathematics" by Ayres/Schmidt. It is a solved problem in the book. But what surprised me was that the solution to this problem was given in one line without any explanation. I could, therefore, not understand how the given one-line solution was reached. The one-line solution in the book says: The equation is ##x \cos{\omega} +y \sin{\omega} - 5 = 0##, ##\omega## being the parameter. From my side, the only thing I could...
Essentially I just have this problem that I'm stuck on, on a sheet about complex numbers: Show that, for ##|r|<1,## $$1+r\cos(x)+r^2\cos(2x)+r^3\cos(3x)...=\frac{1-r\cos(x)}{1-2r\cos(x)+r^2}$$ My first thought was to express it as a geometric series, where the real part of the sum of the series would be the series you see above: $$1+re^{ix}+r^2e^{2ix}+r^3e^{3ix}...$$ The sum of this series is just: $$\frac{(re^{ix})^n-1}{re^{ix} - 1}$$ I'm having some trouble trying to figure out what to...
Back
Top