Is My Solution for 3D Triangle Area Correct?

  • Thread starter Thread starter DODGEVIPER13
  • Start date Start date
  • Tags Tags
    3d Area Triangle
Click For Summary
SUMMARY

The discussion focuses on verifying calculations related to the area of a triangle defined by vectors in a three-dimensional space. The participants clarify the correct approach for calculating the cross product and the implications of vector properties such as parallelism and perpendicularity. Key equations include the area formula A = 1/2 |V1 × V2| and the dot product relationship for angles, cos(θ) = (A · B) / (|A||B|). The final area calculation yielded a value of 25.719, confirming the correct application of vector operations.

PREREQUISITES
  • Understanding of vector operations, including cross products and dot products.
  • Familiarity with unit vectors in three-dimensional space.
  • Knowledge of geometric interpretations of vector relationships, such as parallelism and perpendicularity.
  • Ability to manipulate and solve equations involving vectors and their components.
NEXT STEPS
  • Study the properties of cross products and their geometric interpretations in 3D space.
  • Learn how to compute angles between vectors using the dot product.
  • Explore vector decomposition techniques for solving complex vector equations.
  • Review examples of calculating areas of polygons defined by vectors in three dimensions.
USEFUL FOR

Students in physics or mathematics, particularly those studying vector calculus, geometry, or anyone involved in computational geometry and graphics programming.

DODGEVIPER13
Messages
668
Reaction score
0

Homework Statement


Uploaded


Homework Equations


Uploaded


The Attempt at a Solution


I actually need someone to check my work for 1.1 and 1.2. Is what I have done in 1.3 correct I mean it does not seem right?
 

Attachments

  • EPSON001.jpg
    EPSON001.jpg
    16.2 KB · Views: 519
  • EPSON002.jpg
    EPSON002.jpg
    12.6 KB · Views: 497
  • Homework 1 electromagnetics GLEB.pdf
    Homework 1 electromagnetics GLEB.pdf
    57.7 KB · Views: 412
Physics news on Phys.org
For 1.1 (b) it looks like they want you to take the magnitude of B in the denominator... otherwise the expression wouldn't make sense.

For 1.1 (c), note that the items ux, uy, and uz are the unit vectors of the vector space. So when you take the cross product, don't introduce i, j, or k. The top row of your determinant should be |ux uy uz|. The same applies to 1.1 (d)

For 1.2, consider what vectors being parallel or perpendicular implies for their dot and cross products.

For 1.3, form two vectors that define the sides of the triangle and carry out the cross product. Then ##A = \frac{1}{2}|V_1 \times V_2|##.
 
Ok so the denominator for (b) should be 23.065. For (c) 8UxUyUz. For (d) -26UxUz. on 1.2 that is precisley what had me lost. I know that if they are parallel, then one vector must be a multiple of another. If perpendicular the dot product must result in a 0 and with alpha and beta only being tied to two terms. I struggle with how I can make this happen on the Z value for the parallel part. For part 1.3 A=48.489
 

Attachments

  • EPSON003.jpg
    EPSON003.jpg
    13.9 KB · Views: 462
  • EPSON004.jpg
    EPSON004.jpg
    16.4 KB · Views: 518
AB dot AC = AB dot AC cos(theta) is how I find the angle right?
 
DODGEVIPER13 said:
Ok so the denominator for (b) should be 23.065.
Sure. So what then are the components of the resulting vector?
For (c) 8UxUyUz.
I don't understand that. The result of a cross product should be a vector.
For (d) -26UxUz.
Part d contains a cross product followed by a dot product. The result should be a single scalar value.
on 1.2 that is precisley what had me lost. I know that if they are parallel, then one vector must be a multiple of another. If perpendicular the dot product must result in a 0 and with alpha and beta only being tied to two terms. I struggle with how I can make this happen on the Z value for the parallel part.
For the parallel vectors you can write x*A = B, for some scalar value x. Expand that and you'll see three equations. Solve for x (simple!). Use x to find ##\alpha## and ##\beta##.
For part 1.3 A=48.489
Show your work; that's not the value I'm seeing.

EDIT: Sorry, I didn't see your attachments. Looking at your work for 1.3, I see that you've done something bizarre to find the vectors defining the triangle: you're multiplying the point components! A vector from point A to point B is given by VAB = B - A.

For your cross products, the Ux, Uy, Uz stuff should ONLY appear in the top line of the determinant! Ux, Uy, and Uz designate the unit vectors of the vector space (or coordinate system axes). A vector written as: 3Ux + 5Uy -6Uz has Ux component 3, Uy component 5, and Uz component -6. It might also be written as: (3, 5, -6), with the understanding that those are the Ux, Uy, Uz components.
 
Last edited:
DODGEVIPER13 said:
AB dot AC = AB dot AC cos(theta) is how I find the angle right?
For two vectors A and B, ##A \cdot B = |A||B| cos(\theta)##

then ##cos(\theta) = \frac{A \cdot B}{|A||B|}##

Pay attention to the vector directions: you want to take the angle between pairs such that the vectors are diverging from the triangle vertex. It may help to sketch the triangle "flat" using the vector lengths as the sides. Identify the "points" with the vertices and the vector directions along the triangle sides. You'll know something went wrong if the angle sum is not 180° :smile:
 
For (b) I get 2.948Ux+3.728Uy-1.213Uz. Did I do the cross product incorrect or something I am not understanding on part (c). Once again on part (d) I did the cross product and then used the dot product I am confused on what to do now?
 
DODGEVIPER13 said:
For (b) I get 2.948Ux+3.728Uy-1.213Uz. Did I do the cross product incorrect or something I am not understanding on part (c). Once again on part (d) I did the cross product and then used the dot product I am confused on what to do now?

Your part (b) result looks fine.

For the cross products, take a look at the EDITs I added to post #5.
 
ok so X(Ux+3Uy-2Uz)=4Ux+Uy+8Uz then XUx+3XUy-2XUz = 4Ux+Uy+8Uz then Uz(-2x-8)=Ux(4-x)+(1-3x)Uy
 
  • #10
How do I view the edits it still looks the same on my comp and BTW I can't read the code in #6
 
  • #11
DODGEVIPER13 said:
ok so X(Ux+3Uy-2Uz)=4Ux+Uy+8Uz then XUx+3XUy-2XUz = 4Ux+Uy+8Uz then Uz(-2x-8)=Ux(4-x)+(1-3x)Uy

What happened to the parameters ##\alpha## and ##\beta##? You should have:

##X(\alpha, 3, -2) = (4, \beta, 8)##

from which you have three equations if you equate the like components.
 
  • #12
DODGEVIPER13 said:
How do I view the edits it still looks the same on my comp and BTW I can't read the code in #6

If you refresh the page, the edits at the bottom of the post should appear.

By "code" I presume you mean the mathematical expressions rendered in LaTex? Perhaps your browser is not compatible with the Physics Forums' usage of LaTex? What type of machine/operating system are you using?
 
  • #13
ok for c I get 6Uy+2Uz and for d I get -8
 
  • #14
Ok after doing as you suggested if I did it right alpha=-1 and beta=-12 also x=-4
 
  • #15
yah thanks the refresh worked
 
  • #16
DODGEVIPER13 said:
ok for c I get 6Uy+2Uz and for d I get -8

Check the signs on your expansion of the cross product for c. -8 for part d looks fine.
 
  • #17
DODGEVIPER13 said:
Ok after doing as you suggested if I did it right alpha=-1 and beta=-12 also x=-4

Right :smile:
 
  • #18
ok my signs were off on (c) 6uy-2Uz
 
  • #19
DODGEVIPER13 said:
ok my signs were off on (c) 6uy-2Uz

I still see a sign problem with the first term...!
 
  • #20
doh! so you are saying it is -6Uy-2Uz. Are you sure, I have checked it 3 times and feel confident in my initial answer?
 

Attachments

  • EPSON005.jpg
    EPSON005.jpg
    5.8 KB · Views: 442
  • #21
DODGEVIPER13 said:
doh! so you are saying it is -6Uy-2Uz. Are you sure, I have checked it 3 times and feel confident in my initial answer?

The order of the cross product matters! A x B = - B x A. Your attachment shows that you're computing A x Ux...
 
  • #22
Ok good point it should be after reworking it again -6Uy-2Uz
 
  • #23
to find magnitude (sqrt((-3)^2+(-30)^2+(-36)^2+(15)^2))/2 = 24.647
 

Attachments

  • EPSON006.jpg
    EPSON006.jpg
    8.8 KB · Views: 471
  • #24
That is for the area of the triangle
 
  • #25
DODGEVIPER13 said:
to find magnitude (sqrt((-3)^2+(-30)^2+(-36)^2+(15)^2))/2 = 24.647

Ummm, why do you have two separate Uy terms? Your vector should have exactly three independent components.
 
  • #26
Forgot to collect them up sorry now I get 25.719
 
  • #27
DODGEVIPER13 said:
Forgot to collect them up sorry now I get 25.719

Much better!
 
  • #28
Calculate Gradient and Divergence

On 1.4 I think I am right but not sure? On 1.5 (a), (b), and (c) I am not sure if I did the partial derivatives correctly? On 1.6 Not sure if I computed the gradient right? On 1.7 not sure if i calculated the divergence right? On 1.8 I don't know what to do at all and need a bit of a push? I uploaded my work and the problem was in the first upload.
 

Attachments

  • EPSON007.jpg
    EPSON007.jpg
    16.8 KB · Views: 369
  • EPSON008.jpg
    EPSON008.jpg
    9 KB · Views: 398
  • #29
I think it would be better if you were to decompose the rest of these problems into individual threads. That will increase the chance that people with the appropriate skills for a given problem will take notice. Seeing a large batch of problems in one thread discourages some from jumping into what could be a lengthy and confusing fray.

Having said that, I will address the "latest" problem, 1.4.

Note that you wish the dl's to follow along the given curve, y = x2. You correctly wrote that this means you can substitute y = x2 in the integral. However, you also need to address dy. For the curve y = x2, dy ≠ dx. What should it be?
 
  • #30
Dy=2x
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 6 ·
Replies
6
Views
5K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K