Trying to avoid the quartic formula

  • Thread starter CRYS1SX18
  • Start date
  • Tags
    Formula
In summary, the equation of motion for the target is P(t) = P + Vt + 0.5 A t^2. The equation can be solved for t and the target will be at a position s * t away from the shooter at any given time.
  • #1
CRYS1SX18
2
0
I need help solving for t in the following equation,

[tex]|P + Vt + A(t^2)/2| = st[/tex]

where P V and A are vectors and s and t are scalars.

I've tried squaring both sides which results in the equation

[tex](|A|^2/4)t^4+V.Gt^3+(P.G+|V|^2)t^2+2P.Vt + |P|^2 = s^2t^2[/tex]

[tex](|A|^2/4)t^4+V.Gt^3+(P.G+|V|^2-s^2)t^2+2P.Vt+|P|^2=0[/tex]

The only way I can think to solve this is through the quartic formula which is too unwieldy for my purposes and was wondering if anyone had any ideas.
 
Physics news on Phys.org
  • #2
Welcome to PF!

This looks like homework and if so you should post it under the correct topic and use the homework template where you describe the problem, show relevant formula and your attempt at a solution.

Please be aware that PF will help you solve it but won't give you the answer without some work on your part.

Also it might help if you described where this equation is being used and what the P, V, A and s, t refer to.

Also your solution introduces a G which looks to be a vector too.
 
  • #3
It isn't homework.

The problem is to hit a target with constant acceleration with a projectile that travels at constant speed.

Known variables are:

s(scalar) - the initial speed of your projectile

P(vector) - the initial position of the target relative to the shooter

V(vector) - the initial velocity of the target relative to the shooter

A(vector) - the constant acceleration of the target relative to the shooter

This means the targets equation of motion is
P(t) = P + Vt + 0.5 A t^2 (this formula does work in 3d)

where t is time

and no matter what direction you launch your projectile in it will always be s * t away from the shooter

and that's where |P + Vt+(At^2)/2| = st comes from

once that's solved for t you can plug it back into the equation of motion and aim at where the target will be at that time but I'm not sure how I would go about doing that without resorting to the quartic formula

I realize this is a physics problem but I've already done the physics aspect of it and just need help solving the mathematical equations.

also G is supposed to be A sorry about that
 
Last edited:
  • #4
How about a numeric solution? You could use freemat a free version of MATLAB to compute the answer.
 
  • #5


I understand the need to avoid using complex and unwieldy formulas in order to solve equations efficiently. In this case, instead of using the quartic formula, we can try to simplify the equation by using some mathematical techniques.

Firstly, we can try to rearrange the equation to isolate the variable t on one side. We can do this by subtracting st from both sides of the equation, which gives us:

|P + Vt + A(t^2)/2| - st = 0

Next, we can try to expand the absolute value term by using the definition of absolute value. This will give us two separate equations, one for the positive case and one for the negative case:

P + Vt + A(t^2)/2 - st = 0 (for P + Vt + A(t^2)/2 > 0)

and

-(P + Vt + A(t^2)/2) - st = 0 (for P + Vt + A(t^2)/2 < 0)

We can then simplify these equations by using the properties of vectors and scalars. For example, we can factor out t from the first equation, giving us:

t(A/2 + V + s) + P = 0

We can also use the dot product to simplify the equations further. For instance, we can rewrite the equation as:

t(A.G/2 + V.G + s) + P.G = 0

Using these techniques, we can simplify the equation to a quadratic form, which can be solved using the quadratic formula. This approach may be more efficient and less complicated than using the quartic formula.

Additionally, we can also try to use numerical methods, such as Newton's method or the secant method, to approximate the solution. These methods involve iteratively improving an initial guess for the value of t until we reach a satisfactory level of accuracy.

In conclusion, while the quartic formula may be a valid method for solving this equation, there are alternative approaches that may be more efficient and less cumbersome. By using mathematical techniques and numerical methods, we can simplify the equation and find a solution without having to resort to using the quartic formula.
 
1.

What is the quartic formula?

The quartic formula is a mathematical formula used to solve equations of the fourth degree. It is a generalization of the quadratic formula and is used to find the roots of equations in the form of ax^4 + bx^3 + cx^2 + dx + e = 0.

2.

Why is it important to avoid using the quartic formula?

The quartic formula can be very complex and time-consuming to use, especially in comparison to other methods of solving equations. It also involves calculations with imaginary numbers, which can be difficult to understand and work with.

3.

What are some alternative methods for solving quartic equations?

Some alternative methods for solving quartic equations include factoring, graphing, and using numerical methods such as Newton's method or the bisection method. These methods can often be more efficient and easier to understand than the quartic formula.

4.

Are there any situations where using the quartic formula is necessary?

Yes, there are certain situations where the quartic formula may be the only method for solving a particular equation. For example, if the equation has irrational coefficients or involves higher order radicals, the quartic formula may be the best option.

5.

What are some tips for avoiding the quartic formula?

One way to avoid using the quartic formula is to simplify the equation as much as possible before attempting to solve it. Another tip is to use substitution to reduce the degree of the equation and make it easier to solve. Additionally, understanding and utilizing other methods for solving equations can help you avoid the quartic formula altogether.

Similar threads

  • Precalculus Mathematics Homework Help
Replies
16
Views
907
  • Linear and Abstract Algebra
Replies
2
Views
893
Replies
4
Views
1K
Replies
2
Views
769
Replies
5
Views
359
  • Linear and Abstract Algebra
Replies
2
Views
943
  • Introductory Physics Homework Help
Replies
6
Views
781
  • Linear and Abstract Algebra
Replies
2
Views
2K
  • Linear and Abstract Algebra
Replies
8
Views
1K
  • Introductory Physics Homework Help
Replies
5
Views
412
Back
Top