Solve Trig Equation: d1 Sinθ/Cos²θ = -d2 Sin(θ+ϕ)/Cos²(θ+ϕ)

  • Thread starter Mikey-D
  • Start date
  • Tags
    Trig
In summary, the conversation involves a person seeking a solution for an equation involving theta and various variables, but due to lack of access to math software and limited knowledge in trigonometry, they are unable to solve it. They also mention the possibility of using a small angle approximation, but it is not applicable in this case. Other methods and solutions are suggested, but they are either too long or not relevant to the problem at hand. The person then explains their situation and asks for suggestions, to which another person suggests a geometric solution or an alternate method involving cross multiplication.
  • #1
Mikey-D
11
0
First off, this isn't a homework question. I need a solution to the following in terms of [tex]\theta[/tex]. I don't have access to any math software, it's been a number of years since I've done any serious trig, and when I try to solve it on paper it turns into a cluster**** of confusion. If anyone can drop this into maple or something and grab me a solution, I'd be eternally grateful...

[tex]
\frac{d_1 Sin\theta}{Cos^2\theta} = - \frac{d_2 Sin(\theta+\phi)}{Cos^2 (\theta+\phi)}
[/tex]

Thanks!
 
Mathematics news on Phys.org
  • #2
Mikey-D said:
I need a solution to the following in terms of [tex]\theta[/tex]

Can you be clearer? This statement of the question is ambiguous. A solution for what? d1? d2? phi?

Or are you looking for a solution for theta in terms of d1, d2 and phi?
 
  • #3
stevenb said:
Can you be clearer? This statement of the question is ambiguous. A solution for what? d1? d2? phi?

Or are you looking for a solution for theta in terms of d1, d2 and phi?

The latter, sorry. I misspoke (mistyped?). :P

[tex]\theta[/tex] = ??
 
  • #4
Mikey-D said:
The latter, sorry. I misspoke (mistyped?). :P

[tex]\theta[/tex] = ??

That's what I figured, but I just wanted to be sure.

That looks difficult to solve. There may be a way, but I don't see it offhand.

By any chance, can you argue that your equation is relevant only for small theta? If so, you can do what is called a small angle approximation. In this case you would substitute as follows.

[tex] \cos \theta \approx 1[/tex]

[tex] \sin \theta \approx \theta [/tex]

You would first use some trig identities to separate theta and phi from the sine and cosine. I think you would end up with a quadratic equation for theta (again assuming theta is small). If this sounds interesting and gives you any trouble, I could elaborate further, but I didn't want to do this unless you can clearly use prior knowledge that theta is small.
 
  • #5
unfortunately, no. The ranges of both angles (theta and phi) can be large. It gets pretty ugly pretty fast. What I'm looking for is a minimum of the function

[tex]
f = \frac{d_1}{Cos(\theta)} + \frac{d_2}{Cos(\theta+\phi)}
[/tex]
 
  • #6
Mathematica offers up 6 solutions, unfortunately they are all too long to fit in the space allotted here (limit 20k characters). Not sure that they are that helpful anyway :-)

Numerical solutions should be well behaved in the concave region between spikes to infinity if you cannot make any simplifications or approximations.
 
  • #7
SEngstrom said:
Mathematica offers up 6 solutions, unfortunately they are all too long to fit in the space allotted here (limit 20k characters). Not sure that they are that helpful anyway :-)

Numerical solutions should be well behaved in the concave region between spikes to infinity if you cannot make any simplifications or approximations.

damn. Was afraid that might happen.

Allow me to explain my situation, and maybe someone has a suggestion then...

I've two lines (l1 and l2), and a point in between them (p). I'm looking for the shortest line segment, through p, which connects l1 and l2. This shouldn't be difficult...I must be missing something obvious here...

EDIT: in the above function, [tex]d_1[/tex] and [tex]d_2[/tex] are the distances from p to l1 and l2, respectively. theta is the angle between the desired line segment and l1, and phi is the difference between the angles of l1 and l2.
 
  • #8
I formulated the problem as follows: two lines y=k1*x+b1, y=k2*x+b2
A line through a specified point (xp,yp): y=kp(x-xp)+yp
Finding the solutions (xp1,yp1) and (xp2,yp2) defined by the intersections of each of the two first equations and the third allows you to specify d2=(yp2-yp1)^2+(xp2-xp1)^2 which when minimized yields a minimum for kp at:
[tex]\frac{\text{b1} \text{k2}-\text{b2} \text{k1}+\text{yp}
(\text{k1}-\text{k2})}{\text{b1}-\text{b2}+\text{k1}
\text{xp}-\text{k2} \text{xp}}[/tex]

ps there are more solutions some of which again stretch over pages - might be worth see what this approach does for you though.
 
  • #9
a purely geometric solution may be the best option - consider the three lines forming the sides of a triangle and minimize the length of the side opposing the known angle...
 
  • #10
Alternate method. You have two segments, one from l1 to p one and from p to l2. If those segments have the same slope they are on the same line. So (y1-yp)/(x1-xp)=(yp-y2)/(xp-x2). But those denominators that might be zero. Cross multiply. So (y1-yp)(xp-x2)=(xp-y2)(x1-xp). y1=y1start+k1*y1delta, x1=x1start+k1*x1delta, y2=, x2=. Solve for k1 and k2. Mathematica Reduce gives a solution that is less than half the size of the trig solution and looks like it has nothing more than quadratics and it has many special cases that I expect you can discard as being not relevant to your problem.

Simplify[Reduce[(y1s+k1*y1d-yp)(xp-(x2s+k2*x2d))==(yp-(y2s+k2*y2d))(x1s+k1*x1d-xp), {k1,k2}]]
 
Last edited:

1. What is a trigonometric equation?

A trigonometric equation is an equation that involves trigonometric functions, such as sine, cosine, tangent, etc. These equations are used to solve for unknown angles or sides in a triangle.

2. How do you solve a trigonometric equation?

To solve a trigonometric equation, you need to isolate the variable that you are trying to solve for. This may involve using trigonometric identities, factoring, or other algebraic techniques. Once you have isolated the variable, you can use inverse trigonometric functions to find the solution.

3. What is the difference between solving a trigonometric equation and simplifying a trigonometric expression?

Solving a trigonometric equation involves finding the value(s) of the variable that make the equation true. Simplifying a trigonometric expression involves reducing the expression to its simplest form using trigonometric identities and rules.

4. What does the "d" stand for in the given equation?

The "d" in the equation stands for a constant or a coefficient. It could represent a distance, a rate, or any other value that remains constant throughout the equation.

5. How is the given equation solved?

To solve the given equation, you would first need to use trigonometric identities to simplify the equation. Then, you would isolate the variable by factoring out any common terms. Finally, you would use inverse trigonometric functions to find the solution(s) for the variable.

Similar threads

  • General Math
Replies
3
Views
3K
  • Precalculus Mathematics Homework Help
Replies
21
Views
1K
  • General Math
Replies
5
Views
2K
Replies
4
Views
3K
Replies
1
Views
740
  • Precalculus Mathematics Homework Help
Replies
2
Views
1K
  • Precalculus Mathematics Homework Help
Replies
21
Views
3K
  • Precalculus Mathematics Homework Help
Replies
11
Views
2K
  • Introductory Physics Homework Help
Replies
4
Views
1K
Back
Top