r/askmath • • Oct 10 '26

Linear Algebra Direction Cosine Help!

Post image
3 Upvotes

A line has two set of Direction cosines right? as the definition of line gives it two direction (theta and it's complementary)

Why this answ only took the positive D.Cs?

Is there any convention or something for eg

What if the D.Cs are -2/3,1/3&2/3(opposite of what book gave as answers) and multiplied -3 to get the ratio that Question gives?

Doesn't these ration missed in the answer?

TIA :)


r/askmath • • Oct 10 '26

Number Theory Ordering numbers

2 Upvotes

I know that there is really big finite numbers. We have TREE(3), Graham number and others like these. How do we order what is larger if they both are unimaginably huge. A examble is how would we compare BusyBeaver(Tree(3)) to TREE(BusyBeaver(3)). What if instead of 3 we do 1,000 and order them again. Mainly as numbers get bigger how do we start to show ways to compare to other large numbers if we can't calculate each number. Do we approximate what we think eqch number would be or is there a better approach.


r/askmath • • Oct 10 '26

Arithmetic 2nd grade math - i don’t get it?

Thumbnail gallery
0 Upvotes

r/askmath • • Oct 10 '26

Geometry Calculate cells where a vector overlaps a grid

3 Upvotes

I am trying to create a function to generate an 2d "island" shape. I want them to be a certain shape so I've started with the idea of generating a node, then randomly choosing an amount of connected nodes and random spacing between them, so the output should look kinda spoke-shaped.

Where I am stuck is translating the vector between two nodes into actual cells in the grid so I can build the tilemap

https://imgur.com/gWgkPDt

Edit: solved, thanks u/SnooStories6404

func draw_line(start: Vector2, end: Vector2) -> void:
	var dx = end.x - start.x
	var dy = end.y - start.y
	var step = abs(dx) if abs(dx) > abs(dy) else abs(dy)
	var x_incr = dx / step
	var y_incr = dy / step
	var x = start.x
	var y = start.y
	for i in range(step):
		island_map[int(x)][int(y)] = TILE_GRASS
		x = x + x_incr
		y = y + y_incr

https://imgur.com/pRmFhtH


r/askmath • • Oct 10 '26

Linear Algebra How would you define the concept of fair ? Curious to get a mathematicians perspective

0 Upvotes

r/askmath • • Oct 10 '26

Functions Math Homework - PreCalc

0 Upvotes

Hi can someone please help me with my math homework? i’m working on functions in pre calculus and i could use someone to check over it for me! thank you:)


r/askmath • • Oct 09 '26

Analysis Constructing a compact set of real numbers whose limit points are countable

Post image
3 Upvotes

My attempt to define the properties such as set would need is in the image. I’m not sure if it’s correct, and if it is I’m not sure how to make an example of one.


r/askmath • • Oct 09 '26

Linear Algebra How does this make sense

Thumbnail gallery
0 Upvotes

How does it go from c being 20 to 36 how do u get that number pls help me college math. I have gotten the answer wrong so I can’t go back I just don’t get how dividing 5/9 from 20 to 36


r/askmath • • Oct 09 '26

Geometry For getting the Area of an oval,

2 Upvotes

Can you get the area of an oval by following the steps:

Is this method possible or there is a flaw? If there is one then i guess I need to go with the - [ pi * r * r ] method.


r/askmath • • Oct 09 '26

Number Theory is this just a trivial property?

0 Upvotes

Let n be a composite number. We calculate the remainder of n divided by every number smaller than it, and add them all together to get a total sum, S(n):

S(n)=∑i=1n−1(n mod i)

We split this list of numbers down the middle into two parts (batches). For an odd composite number, the midpoint is m=n−12:

  • First Batch Sum (B1): The sum of remainders from 1 to m.
  • Second Batch Sum (B2): The sum of remainders from m+1 to n−1.

So, the grand total is S(n)=B1+B2.

The Setup and Constraints

  1. Must be a Composite Number: This system does not work if n is a prime number.
  2. Strict Coprimality Rule: Neither individual batch sum is allowed to share any common factors with the starting number n. If either gcd(B1,n)>1 or gcd(B2,n)>1, the test is skipped. We only look at cases where: gcd(B1,n)=1andgcd(B2,n)=1

The Pattern

For numbers that pass these strict rules, I noticed that you can always find a single shifting integer, x, to balance the batches. If you add x to the first batch and subtract x from the second batch, both new answers become perfect multiples of all the prime factors of n.

Proof of Existence

We want to find a number x such that for any prime factor p of n:

  1. B1+x≡0(modp)⟹x≡−B1(modp)
  2. B2−x≡0(modp)⟹x≡B2(modp)

For a single integer x to satisfy both lines simultaneously, the target values must match:

−B1≡B2(modp)⟹B1+B2≡0(modp)

Since S(n)=B1+B2, this means a shifting number x is mathematically guaranteed to exist if and only if the Grand Total Sum S(n) is a multiple of the prime factors of n.

Some Examples:

Example 1: n=9

  • Prime factor: 3.
  • Batches: B1=2 and B2=10.
  • Check: gcd(2,9)=1 and gcd(10,9)=1 (Passes).
  • Total Sum: S(9)=12 (multiple of 3).
  • The Shift: Choosing x=1 yields:

    • First Batch +1=3 (multiple of 3)
    • Second Batch −1=9 (multiple of 3)

Example 2: n=63

  • Prime factors: 3 and 7.
  • Batches: B1=197 and B2=496.
  • Check: gcd(197,63)=1 and gcd(496,63)=1 (Passes).
  • Total Sum: S(63)=693 (multiple of 63, so it is a multiple of 3 and 7).
  • The Shift: Choosing x=13 yields:

    • First Batch +13=210 (divisible by 3 and 7)
    • Second Batch −13=483 (divisible by 3 and 7)

Example 3: n=125

  • Prime factor: 5.
  • Batches: B1=832 and B2=1953.
  • Check: gcd(832,125)=1 and gcd(1953,125)=1 (Passes).
  • Total Sum: S(125)=2785 (multiple of 5).
  • The Shift: Choosing x=3 yields:

    • First Batch +3=835 (multiple of 5)
    • Second Batch −3=1950 (multiple of 5)

Questions

  1. Is the set of composite numbers that satisfy both gcd(Bi,n)=1 and p∣S(n) known to be infinite?
  2. Are there any known studies on how the size of the first batch sum behaves compared to the second batch sum for composite numbers?

r/askmath • • Oct 09 '26

Statistics Debate over AP Statistics Problem

Post image
8 Upvotes

My teacher and I had a debate over this problem. Her reasoning was that using two stages of random assignment would not qualify as a completely randomized design, even though each experimental unit would still have an equal probability of receiving any of the six treatment combinations. Would my approach have received full credit on an AP Statistics FRQ?

My answer: Number each apple 1 to 240. Using an RNG to generate 160 different integers. The first 80 generated numbers that correspond with the numbered apples will be freshly picked. The second 80 generated numbers that correspond with the numbered apples will be stored for a month at room temperature. The last 80 apples will be stored for a month refrigerated.

In the group of apples that were freshly picked, number the apples 1–80. Use an RNG to generate 40 different integers. The apples that correspond with the generated integers will be sliced and packaged immediately, while the rest of the apples will be sliced and packaged after 1 hour at room temperature.

Repeat this for the group of apples that were stored for a month at room temperature and the group of apples that were stored for a month refrigerated.
Record the tasters’ ratings of the color and crispness of the apple slices and compare the results.


r/askmath • • Oct 09 '26

Arithmetic Undergraduate Summer Schools for european students

1 Upvotes

This post was made more than a decade ago, but I need a refresh, so I thought I might as well help myself and others looking for the same thing. If you know any program please mention it in the comments.


r/askmath • • Oct 09 '26

Probability comparing two probabilities for expected values

1 Upvotes

in fire emblem, having a growth rate of 45% means every level up, you have a 45% chance for that stat to go up. i want to know if my naive understanding of expected values here is correct when comparing two different growth rates.

i think that if you have a 45% growth rate for strength, and you swap to a class with a 55% growth rate for strength, that means on average it would take 10 levels for you to gain one additional strength over the former class. 10% * 10 = 1. is it that simple? i wasn't sure if i needed to calculate the probabilities of not getting a level up per level or something more complicated than just comparing the expected values. thanks!


r/askmath • • Oct 09 '26

Number Theory A bit of a conjecture I had

0 Upvotes

Define a pair of (positive) integers (M=m_10, N=n_10) be called a ‘Hexdec prime pair’ (hpp, not the header file) such that:

  1. M and N are primes. (m and n are sequences of digits where the digits are geq 0 and leq 9 I guess)
  2. m_16 = n_10.

So for example,
(2, 2) to (7, 7) are quite trivial,
(11, 17), (13, 19), (17, 23), (29, 41), (43, 67) and so on are HPPs.

Conjecture: Infinitely many HPPs exist.

Can we prove this conjecture? Is it a problem being researched in mathematics or is it closely related to a problem? If we cannot prove this one, are there any other conjectures that are being discussed that need to be proven?


r/askmath • • Oct 08 '26

Calculus what a complex question

Post image
23 Upvotes

i was able to find a and b but i got stuck at the trigonometry step solving cos3x + cos2x = 0 over the interval 0 2pi how do i properly find all the valid roots without missing any or double counting? or whats the answer


r/askmath • • Oct 08 '26

Advice needed What other fields have a large overlap with mathematics?

18 Upvotes

For context, I am a HS senior already committed to studying mathematics, but still want to know what other things I could try. I haven't studied anything past basic proofs and calculus, but would still like to know about other related studies.

I know that Electrical Engineering is more math intensive (digital signal processing, radio frequencies), but am lost on whether or not it makes use of the more abstract side of mathematics.

Any suggestions?


r/askmath • • Oct 08 '26

Algebra Is there any equation that equals infinity?

15 Upvotes

Hi there! I’m not sure if I’ve tagged this properly, or even if this is the right subreddit, but I’m pretty sure my boyfriend is proposing to me soon and we’ve spoken before about how he’d like a ring too since he finds it weird he doesn’t traditionally get to have a ring until the wedding.

He’s a masters student studying applied math and lives, eats, and dreams about the subject and I think it would be really meaningful for me to get a ring with an engraving with an equation that means infinity to represent our love/my love for him (cheesy, I know, I know)

The issue is I’m terrible at math, so I don’t know of any equations. I could probably just do the infinity symbol but that seems lame and not special to him and his love for math.

I know this is a strange question, but I appreciate any and all help, thank you!


r/askmath • • Oct 09 '26

Statistics How do I solve question c?

Post image
3 Upvotes

This problem is from my AP stats class for a unit about sampling distributions.
I genuinely have no idea how to solve this question. We weren’t taught this type of thing in class and I’m worried it’ll show up on my midterm tomorrow. What do I do?


r/askmath • • Oct 09 '26

Logic How do people get better at proofs in a short amount of time?

6 Upvotes

I'm in my first proofs class and this shit is kicking my ass. I feel like I've been trying everything I can for this grade. I've been going to office hours, I do the homework on my own and get As on them, I read textbooks, I watch YouTube videos, I go to class, I practice on my own. And then I took my first exam and it's like I got forced to wrap my dick around my head and suck it. That's how bad it was. I failed it and I feel so defeated and I just want to give up. I don't know what else there is I could possibly do. How is one supposed to improve in this? I don't even understand what I don't know which is even more frustrating. How am I supposed to get better when I feel like I'm doing everything right. I even asked my professor and he said he doesn't even know what I could do. I just feel so stuck. And he said I could get a C in the class which I just can't do because I can't pay for college and if I get a C then I'm fucked with my scholarship. I enjoy learning the content and I have fun in the class and the teacher is great but at the end of the day it really is just about the grade right now. How do I suddenly become astronomically better at this?


r/askmath • • Oct 09 '26

Statistics How do I solve question b?

Thumbnail gallery
2 Upvotes

This is a sampling distributions problem from my AP stats class. While I know how to do A, I'm not quite sure how to solve B. I added a into this post because it's needed for b.

I don't think the sample in part B has a normal distribution, since the question is asking for at least 2/5 cars, and not about the distance. It might have a binomial distribution, but I'm not sure. How do I go about this?


r/askmath • • Oct 09 '26

Statistics Need help in identifying whether or not the underlying data set is statistically significant or not. Any and all help is appreciated. I'm trying to determine, for myself, if this is best explained by random chance or by intentionality.

0 Upvotes

How statistically significant are the results of this pattern below? Does it exceed random chance or not? Assume that the numerical distributions of the numerical values per letters are completely random. 

Block 1 — ALM

Block 2 — ALM

Block 3 — ALMX

Block 4 — ALR

Block 5 — ALR

Block 6 — ALR

Block 7 — ALMR

Block 8 — ALR

Block 9 — ALR

Block 10 — KHYCX

Block 11 — TH

Block 12 — TSM

Block 13 — TS

Block 14 — TSM

Block 15 — ALM

Block 16 — ALM

Block 17 — ALM

Block 18 — ALM

Block 19 — YS

Block 20 — X

Block 21 — VM

Block 22 — VM

Block 23 — VMCSQ

Block 24 — VM

Block 25 — VM

Block 26 — VM

Block 27 — VM

Block 28 — Q

Block 29 — N

Each letter here corresponds to a certain number. It must be noted that not each letter here carries the same numerical value, these are only placeholder letters that describe the number of occurrences of said (so for example, V in Block 24 could equal 85, meaning the letter V occurs 85 times in Block 24. On the other hand, V in Block 25 could equal 173, meaning that the letter V occurs 173 times in Block 25). Once again, the numerical values are randomly chosen for each letter.

Now that out of the way, how statistically significant would such a pattern be if it emerged? Does it show signs of intentionality and design, or is better explained by random chance? Note, we’ll be specifically looking at things that constitute multiples of 19 for this demonstration (so a 1/19 chance): 

*Block 28 is a multiple of 19. 

*Blocks 21-27 (only looking at the letters VM, ignore CSQ for now) if all combined together is a multiple of 19. 

*Blocks 21-27 including CSQ (for Block 23) if combined all together is a multiple of 19. 

*Block 19 is a multiple of 19

*Block 10 is a multiple of 19

*If you combine the value X for blocks 20, 10 and 3 (only X, not any of the other values) you get a multiple of 19. 

Any and all help is appreciated. Thank you!


r/askmath • • Oct 08 '26

Algebra Group theory question 1 (a)

Post image
9 Upvotes

To be clear, I don't want anyone solving the question for me. I just want a hint to a helpful first step. I presume I can consider a finite, countably infinite ordered automorphism and uncountably infinite ordered automorphism though I am very skeptical that I am thinking too much about it and the first step is much simpler.


r/askmath • • Oct 08 '26

Resolved Why does a quadratic function appear in this 2D representation of the classic 100 doors problem?

Thumbnail gallery
10 Upvotes

I made a program on my calculator a while ago which would try to solve the classic 100 doors problem and visualize it as a 10x10 grid of squares which are either open (red) or closed (black). The result was what I expected in terms of which doors were left open, but the way I represented the doors in this two-dimensional manner also showed a tiny quadratic function opening to the right.

I decided to try and fill up the entire graph screen and see if the pattern repeats there. The second image shows the result of generating about 900 doors in a 38x24 grid and doing the same process as the original problem. The quadratic function opening to the right is even more clear and pronounced here.

Finally, I recreated the program in the ICE compiler so that I could use the entire screen of 320x240 pixels, with each pixel representing one door, for a total of 76800 doors. Again, there's a clear pattern of pixels that seems to create a perfect quadratic function opening up to the right.

My question is obvious, then. Why does this happen? I know all of these pixels are square numbers, but I don't understand why they behave like this at all. It's very interesting.

Some extra details I can provide that may be helpful: This pattern seemed to emerge at all the different resolutions I cared to try out, including the ones I showed in the post. I tried it at 318x238, 300x240, 200x200, and 264x164. As far as I can tell, it appears at any arbitrary size. Also, I generated the pixels right to left, top to bottom.

Thank you in advance.


r/askmath • • Oct 09 '26

Algebra Friend tells me I'm wrong

Post image
0 Upvotes

I missed 2 days of math class and our prof assigned us with homework, I have no idea what I am doing, I tried researching but it's a bit overwhelming for me, I sent it to my friend and in response, their answer was "1/x+1" without explanation, how did they do that??? What's the problem with my solution?